Re: [xsl] XQuery/XPath 3.1: Node List to Node Set ("distinct nodes")

Subject: Re: [xsl] XQuery/XPath 3.1: Node List to Node Set ("distinct nodes")
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Dec 2021 19:47:44 -0000
On Wed, 2021-12-29 at 19:06 +0000, Dimitre Novatchev
dnovatchev@xxxxxxxxx wrote:
> On Wed, Dec 29, 2021 at 10:27 AM Martin Honnen martin.honnen@xxxxxxx <
> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> I am happy to state that the provided solution produces the correct
> result
> on all currently-existing XPath engines :)

Does that include Oracle and DB2? What if the XPath expression is used
inside an "unordered" expression?


Probably it works well enough in practice; if it was part of a library
i was distributing, at the very least i'd want to document that the
order is not guaranteed.

Liam

-- 
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread