|
Sini -
I think you need to include the public identifier:
<options xmlns="xdmp:save">
<doctype-public>-//SUB//DTD DocBook V4.4-Based Subset V0.1//EN</doctype-public>
<doctype-system>docbook-sub.dtd</doctype-system>
<indent>no</indent>
</options>
-Will
From: sini narayanan <[email protected]>
Reply-To: MarkLogic Discussion <[email protected]> Date: Thursday, August 8, 2013 7:13 AM To: MarkLogic Discussion <[email protected]> Subject: [MarkLogic Dev General] xdmp:save with doctype declaration Hi All,
I'm trying to save an xml doc on to my file system. I'm using xdmp:save function to do this with the following options.
<options xmlns="xdmp:save">
<output-encoding>utf-8</output-encoding>
<omit-xml-declaration>no</omit-xml-declaration>
<doctype-system>test.dtd</doctype-system>
<indent-untyped>yes</indent-untyped>
</options>
The indentation,xml-declaration is all working. But the doctype declaration is not getting created. Is it not possible like this?
Thanks,
Sini
|
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
