This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: A really easy (hopefully) question
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] A really easy (hopefully) question
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 9 Feb 2001 08:52:27 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> The "current node" and "current node list" are XSLT concepts,
> not XPath
> concepts. What would you expect current() to return in
> another non-XSLT implementation of XPath?
It would be quite easy to define it as "the node that is the context node
for the XPath expression as a whole, outside any predicates". I assume
no-one thought that would be useful enough to justify it.
It would be interesting to know whether free-standing XPath implementations
actually provide this function or not. As far as I can see neither
Microsoft's nor Xalan's free-standing XPath processors give you any
(documented) way of defining variables, which ARE part of the XPath spec.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list