xsl-list
[Top] [All Lists]

RE: Using not(...a nd ... ) to select nodes

2003-07-11 13:37:49
Michael Kay wrote:
current() always refers to the node that "." would refer to if you
replaced the whole XPath expression containing the call on current()
with ".".

I already said this was helpful, but let me just emphasize that this
statement would be a useful addition to the current() function
page (463) in the XSLT Programmer's Reference!

I'd been studying that page, but until you said the above, I still
wasn't sure of the answer to my question.

The bullet about <xsl:for-each> says that "each selected node in
turn becomes the current node." That sounds like it means only
nodes that actually pass the select="" test [each *selected* node]
become the current node. But I wasn't 100% sure until the above made
it more explicit.

Regards,
Lars


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list