xsl-list
[Top] [All Lists]

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

2021-12-29 13:47:53
On Wed, 2021-12-29 at 19:06 +0000, Dimitre Novatchev
dnovatchev(_at_)gmail(_dot_)com wrote:
On Wed, Dec 29, 2021 at 10:27 AM Martin Honnen 
martin(_dot_)honnen(_at_)gmx(_dot_)de <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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, 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:  http://www.fromoldbooks.org
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>