Problem wirh for-each

Here should go questions about transforming XML with XSLT and FOP.
Piri696
Posts: 1
Joined: Sun Mar 03, 2019 4:42 pm

Problem wirh for-each

Post by Piri696 » Sun Mar 03, 2019 4:47 pm

Ho guy i've a xml similari of this

Code: Select all


<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="test_xsl.xsl"?>
<archivio>
<catalogo>
<cd>
<autore>Claudio Baglioni</autore>
<album>Oltre</album>
<anno>1994</anno>
</cd>
<cd1>
<autore>Jovanotti</autore>
<album>Safari</album>
<anno>2008</anno>
</cd1>
<cd2>
<autore>Ligabue</autore>
<album>Piccola Stella senza Cielo</album>
<anno>2000</anno>
</cd2>
<cd3>
<autore>Negramano</autore>
<album>San Siro Live</album>
<anno>2010</anno>
</cd3>
</catalogo>
</archivio>
With a xslt trasformation i would want obtain a valute of the node With a tag <cd> <cd1> <cd2>...i Hope you Can help.me
Best regards