Subject: Re: [xsl] characters in xsl From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Thu, 11 Nov 2004 22:13:14 +0100 |
'//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
-- Geert.Josten@xxxxxxxxxxx IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/ tel:+31-(0)79-3316961 fax:+31-(0)79-3316464
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] characters in xsl, Michael Kay | Thread | Re: [xsl] characters in xsl, David Carlisle |
Re: [xsl] XSLT - update attribute w, Geert Josten | Date | Re: [xsl] variable question, Jeni Tennison |
Month |