Subject: Re: [xsl] Does XQuery allow you to modify the XML? (remove elements, modify element values)|
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Oct 2019 16:08:58 -0000
It's been a long time since I've looked at XQuery.
I need to identify certain elements in XHTML documents and then either
remove the elements or modify their values. Can XQuery do this? Are there free XQuery tools?
Ever heard about Saxon? Well, Saxon 9 does both XSLT and XQuery. 9.8 and later HE supports XSLT 3 (without streaming and higher-order-functions) and XQuery 3.1 (without higher-order functions I think).
XHTML --> XQuery --> XHTML' (a modified version of the input XHTML
If you want a modified version and you are asking on the XSL list, why can't you use XSLT?
But Saxon 9 HE wouldn't support XQuery Update either I think if you wanted to override the input document directly.