Re: [whatwg/dom] Consider specifying document.evaluate and document.createNSResolver (#67)

An attempt at a DOM to XPath XDM has been made at https://qt4cg.org/specifications/xpath-functions-40/Overview.html#html. Feedback is welcome.

Note that this needs to add a conversion mode for not processing namespaces so that when namespaces are enabled it will correctly map XHTML documents and when disabled it will correctly map HTML documents. -- The exact mechanism for this (likely an additional processing option) has not been agreed yet.

It attempts to deal with the various willful violations of the XPath/XML data model in a way that it can handle the different flavours of (X)HTML in the corresponding `fn:parse-html` function. This includes things like the non-conforming handling of template elements.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/67#issuecomment-1637582899
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/67/1637582899@github.com>

Received on Monday, 17 July 2023 08:20:22 UTC