Subject: RE: RE: New ContextNode Question
From: "Michael Fitzgerald" <mike@xxxxxxxxxx>
Date: Thu, 26 Jul 2001 09:52:08 -0700
|
XPath describes or treats an XML document as a bunch of nodes, such as
element nodes. XSLT instruction elements, such as apply-templates, return a
node-set or a list of nodes from a processed XML document. The current node
is the current node being processed in the node list. current() and . return
this current node. The current node is XSLT terminology and the context node
is XPath terminology for the same thing. (A node processed in a predicate or
filter [] is the current node at the time the predicate is processed.) When
in doubt, appeal to the court of last resort for all things XSLT, namely,
Mike Kay's /XSLT Programmer's Reference, 2nd Edition/.
-Mike Fitzgerald
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of abi ashiru
Sent: Thursday, July 26, 2001 5:52 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: New ContextNode Question
Hi All,
I'm a new arrival to XSLT Kingdom. I would like someone to explain in a
layman terms the different between context and current node and their
practical applications.
Thank you!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|