Yes, you can either write a type-switch transformation in XQuery to
create a new document by filtering the content of your original
document, or you could use XQuery Update if your processor supports
it.
For typeswitches, this might be useful -
https://en.wikibooks.org/wiki/XQuery/Typeswitch_Transformations
On Thu, 17 Oct 2019 at 16:55, Costello, Roger L. costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi Folks,
>
> 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?
>
> XHTML --> XQuery --> XHTML' (a modified version of the input XHTML document)
>
> /Roger
>
--
Adam Retter
skype: adam.retter
tweet: adamretter
http://www.adamretter.org.uk
|