- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Wed, 3 Apr 2002 19:32:25 +0200
- To: "'Zbyszynski, Marc'" <mzbyszynski@doubleclick.net>, "Kay, Michael" <Michael.Kay@softwareag.com>, "'xsl-editors@w3.org'" <xsl-editors@w3.org>
> Thanks a lot for your response! I am a little confused about > the global > variable solution that you describe though. It seems like it > would work > great with XSLT 2.0, but is not that useful for XSLT 1.0 > because the root > node '/' would be stored in the variable as a "result tree > fragment", > Not so. A result tree fragment is created only by an <xsl:variable> element with non-empty content. Writing <xsl:variable name="root" select="/"/> does not create a result tree fragment, it creates a node-set containing a single node. Michael Kay Software AG
Received on Wednesday, 3 April 2002 12:32:37 UTC