xsl-list
[Top] [All Lists]

Re: characters in xsl

2004-11-11 14:13:14
Guilty as charged...

G.

'//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>
--~--





--
Geert(_dot_)Josten(_at_)Daidalos(_dot_)nl
IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50

--~------------------------------------------------------------------
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>
--~--