[oXygen-user] Using XQuery Update Modifies Whole Document

Jirka Kosek
Wed Sep 17 14:30:43 CDT 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20140917/9170df0b/attachment.sig>


More information about the oXygen-user mailing list