[MarkLogic Dev General] Adding XML declaration
judie pearline
jj_judie at yahoo.co.in
Tue Aug 31 05:22:07 PDT 2010
Hi all,
I have generated an xml by creating elements.
xquery version "1.0-ml";
let $newXML:= element result
{
element header
{
element topic1 { "xyz"},
element topic2 { "abc" },
element topic3 {
element subTopic { attribute checked {"true"}, text {""} }
}
}
}
return $newXML
How do i add the XML declaration to this created XML.?
Regards,
Judie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20100831/8050acee/attachment.html
More information about the General
mailing list