<xsl:variable name ="persons" select="/all/persons/p" />
<xsl:variable name ="persons1">
<xsl:copy-of select="/all/persons/p"/>
xsl:variable>
The difference between them is that persons has parent, but persons1 has not parent because it is a deep copy.
No comments:
Post a Comment