[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Using not(...a nd ... ) to select nodes
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|