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(_at_)mitre(_dot_)org
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
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
--~--