Subject: RE: characters in xsl
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 11 Nov 2004 21:06:40 -0000
|
> '//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
|