Subject: Re: returning to initial document after changing context via document()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 22 Feb 2005 12:19:20 GMT
|
tis a faq.
/ means the root node of the current document (ie the document that the
current node is in)
so this
<xsl:for-each select="/vbtn:issue/vb
is looking below _that_ root_
you want
<xsl:for-each select="$input/vbtn:issue/vb
where
<xsl:variable name="input" select="/"/>
is a stored reference to your original root node, eg at the top level of
your stylesheet.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________
|