This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: moving thru nodes
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] moving thru nodes
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 15 Feb 2001 12:52:47 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> if I was in two, how can I get into six?
> does this
> parent::one/five/six
> mean I go to the node or just refering to that node?
If you use this expression in xsl:for-each or xsl:apply-templates then it
changes the current node to be the selected node (i.e. it "goes to that
node"), if you use it in xsl:value-of or xsl:copy-of then it just refers to
that node.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list