bonjour,
j' espère que je suis dans le bon forum...( comme nouveau )

je commence à découvrir xml et essayer des applications simples

je souhaiterais savoir si la manip suivante est compliquée (car j' en ai besoin ):
J'ai vu que on pouvait utiliser un attribut DATASRC pour relier des éléments xml à une table html, et SPAN DATAFLD= pour afficher les contenus dans la table html
Cela est il simple dans l' exemple qui suit? fichier xml ( ou très/trop) complexe pour un débutant
il s' agit d'un élément xml pour obtenir une table html hiérarchisée comme suit:

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
level-top
   level1
      level1.1
      level1.2
         level1.2.1      nomencl="s"     ( voir ci-dessous )
         level1.2.2
   level2
      level2.1
         level2.1.1
            level2.1.1.1
            level2.1.1.2
         level2.1.2
         level2.1.3
      level2.2
   level3
      level3.1
         level3.1.1
         level3.1.2
   level4
      level4.1
   level5
      level5.1
         level5.1.1
         level5.1.2
      level5.2
         level5.2.1
         level5.2.2
            level5.2.2.1
            level5.2.2.2
         level5.2.2.3 
uncat
et je voudrais aboutir à une table lcd.html simple équivalente basée sur le xml suivant ou tables imbriquées, et je voudrais aussi que les éléments de la table ( level1.2.1, par exemple, contiennent l' hyperlink vers la nomenclature "nomencl= "s" pour ce cas correspondante - ou du moins dans une colonne séparée de la table html par exemple:

level1.2.1 ligne 5 colonne 1 et nomencl="s" ligne 5 colonne 2

( cf le doc xml dont extrait ci-dessous )

j' ai laissé l' intégralité du/des documents pour la compréhension,
excusez de la longueur

lcd.xml
-------------------------------------------------------------------------
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<lcd>
	<CATEGORIES>
		<CATEGORY id="/"" name="ROOT_CATEGORY">
			<REFCATEGORIES>
				<REFCATEGORY nomencl="a" name="level-top"/>
				<REFCATEGORY nomencl="b" name="uncat"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:17:47" nomencl="c" name="level-top">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="d" name="level1"/>
				<SUBCATEGORY nomencl="e" name="level4"/>
				<SUBCATEGORY nomencl="f" name="level5"/>
				<SUBCATEGORY nomencl="g" name="level2"/>
				<SUBCATEGORY nomencl="h" name="level3"/>
			</SUBCATEGORIES>
			<REFCATEGORIES>
				<REFCATEGORY nomencl="i" name="level1"/>
				<REFCATEGORY nomencl="j" name="level2"/>
				<REFCATEGORY nomencl="k name="level3"/>
				<REFCATEGORY nomencl="kbis" name="level4"/>
				<REFCATEGORY nomencl="l" name="level5"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:17:56"  nomencl="m" name="level1">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="n" name="level1.2"/>
				<SUBCATEGORY nomencl="o" name="level1.1"/>
			</SUBCATEGORIES>			
			<REFCATEGORIES>
				<REFCATEGORY nomencl="p" name="level1.1"/>
				<REFCATEGORY nomencl="q" name="level1.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:18:03"  nomencl="r" name="level1.2">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="s" name="level1.2.1"/>
				<SUBCATEGORY nomencl="t" name="level1.2.2"/>
			</SUBCATEGORIES>			
			<REFCATEGORIES>
				<REFCATEGORY nomencl="u" name="level1.2.1"/>
				<REFCATEGORY nomencl="v" name="level1.2.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:18:09" nomencl="w" name="level1.2.1">			
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:18:17" nomencl="x" name="level4">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="y]" name="level4.1"/>
			</SUBCATEGORIES>			
			<REFCATEGORIES>
				<REFCATEGORY nomencl="z" name="level4.1"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:18:21"  nomencl="aa" name="level5">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="bb" name="level5.1"/>
				<SUBCATEGORY nomencl="cc" name="level5.2"/>
			</SUBCATEGORIES>			
			<REFCATEGORIES>
				<REFCATEGORY nomencl="dd" name="level5.1"/>
				<REFCATEGORY nomencl="ee" name="level5.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:18:33"  nomencl="ff" name="level2">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="gg" name="level2.1"/>
				<SUBCATEGORY nomencl="hh" name="level2.2"/>
			</SUBCATEGORIES>			
			<REFCATEGORIES>
				<REFCATEGORY nomencl="ii" name="level2.1"/>
				<REFCATEGORY nomencl="jj" name="level2.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:18:39" nomencl="kk" name="level3">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="ll" name="level3.1"/>
			</SUBCATEGORIES>
				<REFCATEGORIES>
				<REFCATEGORY nomencl="mm" name="level3.1"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:19:15"  nomencl="nn" name="level3.1">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="oo" name="level3.1.1"/>
				<SUBCATEGORY nomencl="pp" name="level3.1.2"/>
			</SUBCATEGORIES>			
			<REFCATEGORIES>
				<REFCATEGORY nomencl="qq" name="level3.1.1"/>
				<REFCATEGORY nomencl="rr" name="level3.1.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:19:26" nomencl="ss" name="level4.1">			
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:19:36" nomencl="tt" name="level5.1">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="uu" name="level5.1.1"/>
				<SUBCATEGORY nomencl="xx" name="level5.1.2"/>
				<SUBCATEGORY nomencl="yy]" name="level5.2.2"/>
			</SUBCATEGORIES>
				<REFCATEGORIES>
				<REFCATEGORY nomencl="zz" name="level5.1.1"/>
				<REFCATEGORY nomencl="aaa" name="level5.1.2"/>
				<REFCATEGORY nomencl="bbb" name="level5.2.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:19:51"  nomencl="ccc]" name="level1.2.2">			
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:20:09" nomencl="ddd" name="level3.1.1">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:20:21" nomencl="eee" name="level3.1.2">			
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:20:36" nomencl="fff]" name="level2.1">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="ggg" name="level2.1.1"/>
				<SUBCATEGORY nomencl="hhh" name="level2.1.2"/>
				<SUBCATEGORY nomencl="iii" name="level2.1.3"/>
			</SUBCATEGORIES>
				<REFCATEGORIES>
				<REFCATEGORY nomencl="jjj" name="level2.1.1"/>
				<REFCATEGORY nomencl="kkk" name="level2.1.2"/>
				<REFCATEGORY nomencl="lll" name="level2.1.3"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:20:44" nomencl="mmm" name="level2.1.1">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="nnn" name="level2.1.1.1"/>
				<SUBCATEGORY nomencl="ooo" name="level2.1.1.2"/>
			</SUBCATEGORIES>
				<REFCATEGORIES>
				<REFCATEGORY nomencl="ppp" name="level2.1.1.1"/>
				<REFCATEGORY nomencl="qqq" name="level2.1.1.2"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:21:08"  nomencl="rrr" name="level2.1.1.1">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:21:18" nomencl="sss" name="level2.1.2">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:21:31 nomencl="ttt" name="level2.1.3">			
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:21:48  nomencl="uuu" name="level2.1.1.2">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:22:06  nomencl="xxx]" name="level5.1.1">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:22:16  nomencl="yyy" name="level5.1.2">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:22:26" nomencl="zzz" name="level5.2.2">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="aaaa" name="level5.2.2.1"/>
				<SUBCATEGORY nomencl="bbbb" name="level5.2.2.2"/>
				<SUBCATEGORY nomencl="cccc" name="level5.2.2.3"/>
			</SUBCATEGORIES>
						<REFCATEGORIES>
				<REFCATEGORY nomencl="dddd" name="level5.2.2.1"/>
				<REFCATEGORY nomencl="eeee" name="level5.2.2.2"/>
				<REFCATEGORY nomencl="ffff" name="level5.2.2.3"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:22:47 nomencl="gggg" name="level5.2">
			<SUBCATEGORIES>
				<SUBCATEGORY nomencl="hhhh" name="level5.2.1"/>
			</SUBCATEGORIES>
				<REFCATEGORIES>
				<REFCATEGORY nomencl="iiii" name="level5.2.1"/>
			</REFCATEGORIES>
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:23:07 nomencl="jjjj" name="level5.2.1">
					</CATEGORY>
		<CATEGORY created="2006/10/26 15:24:13 id="kkkk" name="level5.2.2.1">
					</CATEGORY>
		<CATEGORY created="2006/10/26 15:24:21" nomencl="llll" name="level5.2.2.2">			
		</CATEGORY>
		<CATEGORY created="2006/10/26 15:24:28 nomencl="mmmm" name="level5.2.2.3">
			</CATEGORY>
		<CATEGORY created="2006/10/26 15:24:51  nomencl="nnnn" name="uncat">
					</CATEGORY>
		<CATEGORY created="2006/10/26 15:26:08 nomencl="oooo" name="level1.1">
					</CATEGORY>
		<CATEGORY created="2006/10/26 15:27:44 nomencl="pppp" name="level2.2">
					</CATEGORY>
	</CATEGORIES>
</lcd>
--------------------------------------------------------------------------
ceci est il très compliqué à obtenir, ou pouvez vous me donner les premières lignes de code pour m' orienter? et démarrer le tableau

merci d' avance

je viens de m' apercevoir à la visualisation que toutes les indentations ont sauté.
J'espère que cela permettra quand m^me la compréhension de ce que je souhaite obtenir (? )