[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:sequence
andrew welch wrote: Hi > The difference between copy-of and xsl:sequence is more > subtle and can be highlighted with this example: I'd insist also on the identity of the nodes in the sequence. For example: <xsl:variable name="copy" as="element()"> <xsl:copy-of select="/path/to/element"/> </xsl:variable> <xsl:variable name="sequence" as="element()"> <xsl:sequence select="/path/to/element"/> </xsl:variable> <xsl:value-of select="/path/to/element is $copy"/> <xsl:value-of select="/path/to/element is $sequence"/> Note also this is an equivalent way to define $sequence: <xsl:variable name="sequence" select="/path/to/element"/> Regards, --drkm ___________________________________________________________________________ Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences. http://fr.answers.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|