RE: [xsl] moving thru nodes

Subject: RE: [xsl] moving thru nodes
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 12:52:47 -0000
> 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


Current Thread