
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: jirka@kosek.cz 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 ------------------------------------------------------------------