Re: key function - document node
Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <[email protected]> |
No, it should produce the correct result ;-) The third parameter scopes the result; nodes will only be selected by the key() function if they are withing the subtree rooted at the node given in the third argument. Michael Kay Saxonica > On 3 Sep 2020, at 19:18, Ihe Onwuka <[email protected]> wrote: > > I amended an invocation to the key function wherein the 3rd parameter was not a document node but was a variable with an element type declaration. I got no error or warning but the stylesheet executed to completion and provided the wrong result. > > Is this what should happen? > _______________________________________________ > saxon-help mailing list archived at http://saxon.markmail.org/ > [email protected] > https://lists.sourceforge.net/lists/listinfo/saxon-help _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help