You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Lewis, David" <dl...@pfc.cfs.nrcan.gc.ca> on 2004/04/05 23:16:18 UTC

XMLObject attribute order when saving

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