On Wed, 2020-11-25 at 04:56 +0000, Dimitre Novatchev
dnovatchev(_at_)gmail(_dot_)com wrote:
*The pure XPath solution is also an XQuery solution*, as XQuery is a
superset of XPath.
However, the results may differ in terms of in-scope namespaces, i
think.
I'd probably write an XSLT function. Or an XQuery function.
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
--~--