Hi,

can you please show use how you are (in code) calling the Marshaller ? 

Thanks
Werner
-----Ursprüngliche Nachricht-----
Von: Gopinath R [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 01. August 2005 13:47
An: [email protected]
Betreff: [castor-user] order of the marshalled XML elements


Hi All,
I would like to know if the order of the marshalled XML elements can be changed 
using any of the castor.properties parameters.
The output XML generated in my program does not follow the order specified in 
mapping XML.
Pl let me know.

Enclosed below is from Castor XML FAQ regarding the order of marshalled 
elements.
Thanks
Gopi


Reference in Castor XML FAQ:
What is the order of the marshalled XML elements?
If you are using Castor's default introspection to automatically map the 
objects into XML, then there is no guarantee on the order. It simply depends on 
the order in which the fields are returned to Castor using the Java reflection 
API.
Note: If you use a mapping file Castor will generate the XML in the order in 
which the mapping file is specified.

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to