Given this code:

xquery version "1.0-ml";
declare option xdmp:output "indent-untyped=yes";
declare option xdmp:output "omit-xml-declaration=yes";
xdmp:document-insert(
   "/test.xml",
   <doc>
     <line>line 1</line>
     <line>line2</line>
   </doc>
) ;

doc("/test.xml")

The output I'm getting is

<?xml version="1.0" encoding="UTF-8"?>
<doc><line>line 1</line><line>line2</line></doc>

which is disobeying both serialization optinons I specified. ML version 7.0-4. 
Are other people seeing this? Am I missing something?

David

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400314, Charlottesville, VA 22904-4314 USA
Email: dsew...@virginia.edu   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to