Hi,
when i print out my XMK document the xml header is not shown (<?xml
version="1.0" encoding="UTF-8"?>).
I use the command :
String xmlStr = newListItem.xmlText(opts);
System.out.println(xmlStr);
The result:
<ListItemMaster releaseID="test" languageCode="sv"
xmlns="http://www.openapplications.org/oagis/9">
<ApplicationArea>
<CreationDateTime>2006-12-14+01:00</CreationDateTime>
</ApplicationArea>
<DataArea>
<List/>
<ItemMaster/>
</DataArea>
</ListItemMaster>
It prints the whole document but not the first line, <?xml version="1.0"
encoding="UTF-8"?>
Any hints ?
/Regards Krister
--
View this message in context: http://www.nabble.com/Missing-the-XML-header-tf2820453.html#a7872077
Sent from the Xml Beans - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
|