From: "Jon Scott Stevens" <[EMAIL PROTECTED]> > on 6/13/02 11:24 AM, "robert burrell donkin" <[EMAIL PROTECTED]> wrote: > > > it's hard to see how betwixt could automatically guess the ordering > > without access to the DTD. it might be necessary to create betwixt file or > > an XMLBeanInfo class to correctly order the output. > > > > - robert > > I'm not sure if it is possible to get this information from reflection, but > I would be ok with making the ordering the same as the ordering of the get() > methods in the class file.
The ordering by default is the same as the order returned by the BeanInfo returned by the Introspector in java.beans. Unfortunately this bears no relation to the order in the class file :-(. It does seem to be constant though :-) I suspect its some hash-order or something. James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>