You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Murphy, Eric" <er...@pfc.cfs.nrcan.gc.ca> on 2004/05/07 20:27:55 UTC

How do I get the 

<?xml version=1.0" encoding="UTF-8" ?>

To appear at the top of my document? I was hopful that inserting 
    
    XmlDocumentProperties docProperties = xmlDoc.documentProperties();
    docProperties.setVersion("1.0");
    docProperties.setEncoding("UTF-8");

would do it.


Eric Murphy
Software Developer (NFIS)

erimurph@pfc.forestry.ca
tel/t�l: 250-363-6038
fax / t�l�copieur 250-363-6004

Natural Resources Canada
Pacific Forestry Centre
506 West Burnside Road
Victoria BC V8Z 1M5

Ressources naturelles Canada
Centre de foresterie du Pacifique
506 rue Burnside ouest
Victoria, Colombie-Britanique V8Z 1M5