D
David Simons
Hi,
I don't know how to print out all subcontent of an
element with xslt. E.g.
<book>
<chapter>first chapter
<content>
lorem ipsum bla
</content>
</chapter>
<chapter>second chapter
<content>
that and this and this and that
</content>
</chapter>
.......
</book>
xslt:
.....
<xsl:for-each select="book"> <xsl:value-of select="child::*"/>
</xsl:for-each>
....
But this just gives me the first chapter but none of
the other chapters, I don't know why?
Regards,
David
I don't know how to print out all subcontent of an
element with xslt. E.g.
<book>
<chapter>first chapter
<content>
lorem ipsum bla
</content>
</chapter>
<chapter>second chapter
<content>
that and this and this and that
</content>
</chapter>
.......
</book>
xslt:
.....
<xsl:for-each select="book"> <xsl:value-of select="child::*"/>
</xsl:for-each>
....
But this just gives me the first chapter but none of
the other chapters, I don't know why?
Regards,
David