SV: [thelist] Simple XPath question

fstorr fffrancis at fstorr.demon.co.uk
Tue Nov 11 12:06:25 CST 2003


Marcus Andersson wrote:
> <xsl:template match="para">
> 	<p><xsl:copy-of select="node()"/></p>
> </xsl:template>
> 
> By doing this you will copy all child nodes of para to the result tree
> (all text nodes, child elements etc.). If you want to make sure that you
> only copy elements and text you can use <xsl:copy-of select="*|text()"/>
> instead.

+++++++

Thanks Marcus, that really helps

Regards

F




More information about the thelist mailing list