Subject: Re: [xsl] Does XQuery allow you to modify the XML? (remove elements, modify element values) From: "Adam Retter adam.retter@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 17 Oct 2019 16:51:17 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Does XQuery allow you to , Martin Honnen martin | Thread | Re: [xsl] Does XQuery allow you to , Elisa Beshero-Bondar |
Re: [xsl] XSLT 3: Possible to Get U, Dimitre Novatchev dn | Date | Re: [xsl] Does XQuery allow you to , Steven D. Majewski s |
Month |