Salut tout le monde,
je débute dans l'xml, je dois écrir un xslt pour extraire des donnés et transformer un xhtml en xml valide:
ma question est de savoir si il est possible à partir d'un simple tableau de pointer directement sur le text qand les balises n'ont pas de mot clé significatif exemple:

la source xhtml :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- <table border="1" cellpadding="4" cellspacing="0" id="LISTE">
- <tr valign="top">
- <td nowrap="nowrap" >
  <b>Tour de poignet</b> 
  </td>
- <td nowrap="nowrap" >
  <b>Taille</b> 
  </td>
- <td nowrap="nowrap" >
  <b>Coloris</b> 
  </td>
- <td nowrap="nowrap" >
  <b>Référence</b> 
  </td>
  </tr>
- <tr valign="top" >
  <td nowrap="nowrap">13-15 cm</td> 
  <td nowrap="nowrap">1</td> 
  <td nowrap="nowrap">noir</td> 
  <td nowrap="nowrap">7500237</td> 
  </tr>
- <tr valign="top" >
  <td nowrap="nowrap">15-16.5 cm</td> 
  <td nowrap="nowrap">2</td> 
  <td nowrap="nowrap">noir</td> 
  <td nowrap="nowrap">7500243</td> 
  </tr>
- <tr valign="top" >
  <td nowrap="nowrap">16.5-18.5 cm</td> 
  <td nowrap="nowrap">3</td> 
  <td nowrap="nowrap">noir</td> 
  <td nowrap="nowrap">7500266</td> 
  </tr>
- <tr valign="top" >
  <td nowrap="nowrap">18.5-20 cm</td> 
  <td nowrap="nowrap">4</td> 
  <td nowrap="nowrap">noir</td> 
  <td nowrap="nowrap">7500272</td> 
  </tr>
  </table>
Question:
comment faire pour arriver à un résultat qui ressemblerait à:
<item tour-de-poingnet="13-15 cm" taille="1" coloris="noir" reference="4500237"</item>.../*la même chose pour le reste*/

merci pour votre aide