[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

restoring document context

Subject: restoring document context
From: "Gruenewald, Terry" <tgruenewald@xxxxxxxxxx>
Date: Tue, 3 Feb 2004 17:06:12 -0600
document context
I'm having a problem with my document context switching from the XML file I'm processing to a node-set contained in the XSL to back to the XML file.    I don't know how to get back to the XML file once I switch to the XSL node-set.  Here's roughly what my XSL looks like:

    <xsl:variable name="unique-division-list">
      <division>
         <div><name>a</name></div>
         <div><name>b</name></div>
         <div><name>c</name></div>
         <div><name>d</name></div>
     </division>
    </xsl:variable>

...

    <xsl:for-each select="$unique-division-list/division/div">
        <xsl:sort select="name"/>
        <xsl:variable name="division" select="name"/>
  
       <!-- code to process this internal node here -->


       <xsl:for-each select="//CDRS/TOLL_CDR">
              <!-- code to process the nodes in the XML file -->

      </xsl:for-each>

    </xsl:for-each>



          



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.