Simplified structure of my XML:
<CV>
<info>
<firstname>Sam</firstname>
<lastname>Smith</lastname>
<birthday>19/08/1978</birthday>
</info>
<additions>
<name>japan language course</name>
<name>skipper course</name>
</additions>
<interests>
<name>cycling</name>
<name>runing</name>
<name>surfing</name>
</interests>
</CV>
I've got a problem with iteratations using xsl for-each on additions and interests:
<xsl:for-each select="/CV/additions">
<xsl:value-of select="name"/>
</xsl:for-each>
It shows me only "japan language course" and "cycling".
Is it possible that the structure is incorrect? The easiest way to solve my problem is to change:
<interests>
<name>cycling</name>
<name>runing</name>
<name>surfing</name>
</interests>
into:
<interests>
<interest>
<name>cycling</name>
</interest>
<interest>
<name>runing</name>
</interest>
<interest>
<name>surfing</name>
</interest>
</interests>
but I think it's quite stupid to create sub-childs...
Regards