[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Which of course is a pointer rather than a deep copy (which was my other idea). Excellent.
----- Original Message ----- From: "Michael Kay" <mike@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, June 30, 2007 11:44 AM
Subject: RE: [xsl] Context node is within a variable - how to get back?
Re: [xsl] Context node is within a variable - how to get back?
Subject: Re: [xsl] Context node is within a variable - how to get back? From: "Tristan Stevens" <tristanstevens@xxxxxxxxxxx> Date: Sat, 30 Jun 2007 14:54:39 +0100 |
Which of course is a pointer rather than a deep copy (which was my other idea). Excellent.
Thanks again. Tristan
----- Original Message ----- From: "Michael Kay" <mike@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, June 30, 2007 11:44 AM
Subject: RE: [xsl] Context node is within a variable - how to get back?
This doesn't work because when I attempt to apply-templates to /Root/Body, the context appears to be limited to the variable - how can I get back to the document?
Have a global variable pointing to the principal source document
<xsl:variable name="root" select="/"/>
so you can always refer to it.
Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Context node is within a , Michael Kay | Thread | [xsl] Sum of multiple elements, Chad Gorshing |
Re: [xsl] Replacing default namespa, Martin Honnen | Date | Re: [xsl] <quote>XSL is NOT easy</q, Colin Adams |
Month |