Re: [xsl] Does XQuery allow you to modify the XML? (remove elements, modify element values)

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
On 17.10.2019 17:55, Costello, Roger L. costello@xxxxxxxxx wrote:

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).

As for database systems with XQuery support, there is BaseX and eXist-db.


XHTML --> XQuery --> XHTML' (a modified version of the input XHTML
document)

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.

Current Thread