Yes I meant xsl function, you are correct.

Thanks for the info on the xsl-list and the general info on the document
function.

Paul Ackley

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Using xsl:document



Do you mean the document() function?  There is no xsl:document element in
XSLT 1.0.  Whether or not the current node is the document brought in by a
call to the document function depends on how you call it.

The current node can only be changed explicitly by using xsl:for-each or
xsl:apply-templates.  The processor will "restore" the current node when
the element that changed it goes out of scope.

These sorts of general XSLT questions are best asked on the Mulberry XSL
list:

   http://www.mulberrytech.com/xsl/xsl-list/index.html

Dave



 

                      "Ackley, Paul"

                      <Paul.Ackley@qwe         To:
[EMAIL PROTECTED]                                  
                      st.com>                  cc:      (bcc: David N
Bertoni/CAM/Lotus)                          
                                               Subject: Using xsl:document

                      08/20/2001 12:18

                      PM

                      Please respond

                      to xalan-dev

 

 




This is more of a general xsl question.  When I use the the xsl:document
element to "read in" another xml file my current node is then changed to
the
node I am reading from the secondary xml document (the one opened up and
read with the xsl:document element).  I expected the node to be the node of
XML document that I am running XSLT (Xalan) against.  I hope this makes
sense...

Is there a way to get the node back to the original XML document?

____________________ ____
Paul Ackley
Qwest Communications, Inc
Phone: 614-215-2492
Fax: 614-798-6777





Reply via email to