Buongiorno a tutti.
Io devo costruire un XSLT che formatta un XML il quale contiene la descrizione della struttura di un header di una table. La struttura è molto complessa, con nodi annidati e con diverse profondità.

Questo è il mio file XML:
codice:
<data>
	<Service depth="6" name="service1" totalDepth="2">
		<Field depth="0" name="1.1"/>
		<Field depth="0" name="1.2"/>
		<Field depth="0" name="1.3"/>
		<Field depth="0" name="1.4"/>
		<Field depth="0" name="1.5"/>
		<Field depth="0" name="1.6"/>
	</Service>
	<Service depth="8" name="service2" totalDepth="4">
		<Field depth="4" name="2.1">
			<Field depth="4" name="2.1.1">
				<Field depth="0" name="2.1.1.1"/>
				<Field depth="0" name="2.1.1.2"/>
				<Field depth="0" name="2.1.1.3"/>
				<Field depth="0" name="2.1.1.4"/>
			</Field>
			<Field depth="4" name="2.1.2">
				<Field depth="0" name="2.1.2.1"/>
				<Field depth="0" name="2.1.2.2"/>
				<Field depth="0" name="2.1.2.3."/>
				<Field depth="0" name="2.1.2.4"/>
			</Field>
			<Field depth="4" name="2.1.3.">
				<Field depth="0" name="2.1.3.1"/>
				<Field depth="0" name="2.1.3.2"/>
				<Field depth="0" name="2.1.3.3"/>
				<Field depth="0" name="2.1.2.4"/>
			</Field>
			<Field depth="4" name="2.1.4">
				<Field depth="0" name="2.1.4.1"/>
				<Field depth="0" name="2.1.4.2"/>
				<Field depth="0" name="2.1.4.3"/>
				<Field depth="0" name="2.1.4.4"/>
			</Field>
		</Field>
		<Field depth="4" name="2.2">
			<Field depth="0" name="2.2.1"/>
			<Field depth="0" name="2.2.2"/>
			<Field depth="0" name="2.2.3"/>
			<Field depth="0" name="2.2.4"/>
		</Field>
	</Service>
</data>
e QUESTO è il risultato che dovrei ottenere (senza colori ovviamente!!)

Non sono in grado di farlo, suggerimenti?
Grazie
Delfy