judie pearline wrote:
Hi,
> How do i add the XML declaration to this created XML.?
The serialization parameters are outside the scope of XQuery
1.0. With 1.1, you will be able to use the following[1][2]:
declare option output:omit-xml-declaration "no";
In 1.0 that's dependent on the implementation. I don't think
MarkLogic does provide a way to set serialization parameters from
within the queries themselves, only from programmatic interfaces,
but I am not 100% sure.
Regards,
--
Florent Georges
http://fgeorges.org/
[1] http://www.w3.org/TR/xquery-11/#id-serialization
[2] http://www.w3.org/TR/xquery-11/#id-xq-serialization-parameters
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general