xsl-list
[Top] [All Lists]

RE: characters in xsl

2004-11-11 14:06:40

'//stone' is a 'better match' in the sense that it is more 
specific. It will not match the root 
element if its name would be stone. 

Wrong. In XSLT 1.0, and in 2.0 with a tree that has a document node as its
root, match="//stone" matches exactly the same elements as match="stone".

There's a slight difference in 2.0: match="//stone" will only match a stone
element that belongs to a document tree.

Michael Kay


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--