[oXygen-user] Using XQuery Update Modifies Whole Document

Eliot Kimber
Wed Sep 17 14:44:44 CDT 2014


Right, and if I'm going to write my own serialization method I might as
well just use XSLT :-)

But it's good to know that XQuery 3 has the ability to set DOCTYPE details.

Cheers,

E.
—————
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com




On 9/17/14, 2:30 PM, "Jirka Kosek" <> wrote:

>On 17.9.2014 16:32, Eliot Kimber wrote:
>> And I don't think XQuery has the equivalent of the <xsl:output> or
>> <xsl:result-document> instructions.
>
>It does, at least in version 3.0. You can use something like:
>
>declare namespace output =
>"http://www.w3.org/2010/xslt-xquery-serialization";
>declare option output:doctype-public   "-//OASIS//DTD ....//EN";
>
>Result document is not supported there. But if you want to strip class
>attributes, you can write your own serialization method.
>
>				Jirka
>
>-- 
>------------------------------------------------------------------
>  Jirka Kosek      e-mail:       http://xmlguru.cz
>------------------------------------------------------------------
>       Professional XML consulting and training services
>  DocBook customization, custom XSLT/XSL-FO document processing
>------------------------------------------------------------------
> OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
>------------------------------------------------------------------
>    Bringing you XML Prague conference    http://xmlprague.cz
>------------------------------------------------------------------
>




More information about the oXygen-user mailing list