Subject: RE: [xsl] key( 'myKey', 'key', $current) searches only the sub tree from $current From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 23 Feb 2008 16:15:04 -0000 |
> "XSLT 2.0 3rd edition" from Michael Kay page 574 says, that > the supplied ~ third argument must not be the document node, > but any node of the source document. > > Is this a bug in Saxon or one of the things that changed in > the spec after publishing the book? I didn't find the part in > the online documentation, where the xslt functions are described. The spec changed after the book was published. The key() function now searches within the subtree rooted at the node supplied as the third argument. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] key( 'myKey', 'key', $current, Johannes Neubauer | Thread | Re: [xsl] key( 'myKey', 'key', $cur, Johannes Neubauer |
Re: [xsl] passing element to functi, Abel Braaksma | Date | Re: [xsl] key( 'myKey', 'key', $cur, Colin Paul Adams |
Month |