[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: grouping and context (?)
<!-- since we're now working with the mods source, the only way I can see to get back to the biblioref code is to use a key again; unfortunately doesn't work correctly ** --> <xsl:variable name="citekey" select="key('citekey', @ID)" /> key() (as in xslt1) returns nodes only from the current document (where temporary trees generated in xsl:variable count as new documents) the solution is as in xslt1 save a variable holding a node in teh original document before you go off somewhere else <xsl:variable name="orig" select="/"/> then when you need to go back there use (in xslt2) select="$orig/key('citekey', current()/@ID)" David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
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
|