Re: [xsl] characters in xsl

Subject: Re: [xsl] characters in xsl
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Thu, 11 Nov 2004 22:13:14 +0100
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





--
Geert.Josten@xxxxxxxxxxx
IT-consultant at Daidalos BV, Zoetermeer (NL)

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

GPG: 1024D/12DEBB50

Current Thread