xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis, David" <dle...@pfc.cfs.nrcan.gc.ca>
Subject XMLObject attribute order when saving
Date Mon, 05 Apr 2004 21:16:18 GMT
I notice that when printing an XMLObject to System.out (using
xmlObject.save(System.out, new XmlOptions().setSavePrettyPrint())),  notice
that the order of the attributes within an element is the same order that
the attributes were set. Is there any parameter or XMLOptions setting to
allow the attributes to be ordered according to the schema from which the
XMLBeans Java objects were generated?

 

Thanks!

 

- David

 

David Lewis
Software Developer                                 Concepteur de logiciels

National Forest Information System         Système national d'information
forestière

 

Canadian Forest Service                         Service canadien des forêts
Pacific Forestry Centre                           Centre de foresterie du
Pacifique
506 West Burnside Road                        506, chemin Burnside ouest
Victoria, BC (CB) Canada V8Z 1M5   t: (250) 363-0710 f: (250) 363-0775

 


Mime
View raw message