Hi all, sorry to bother again :-) I'd like to ask your advice about this: supposing I have a list of XML commands like this:
<create line="ISDN" number="8887474747" type="10" /> <update line="ISDN" number="8887474747" type="10" /> <delete line="ISDN" number="8887474747" type="10" /> this can simply wrapped in a Class. Anyway every command must be wrapped in a <command> containing the idSession like this: <command idSession="hf8h4fh4884h88h8"> <create line="ISDN" number="8887474747" type="10" /> </command> Now I want to keep my mapping easy, just a class for every command (create, update, delete etc...) is it possible to add programmatically the node <command> so that it wraps the command ? in other words I'd like to Marshal the Java class "Create" into the node "<create>" then wrap programmatically with the node <command> Is it possible to do it? thanks a lot francesco -- View this message in context: http://www.nabble.com/Wrapping-an-XML-inside-another-XML-tp19668656p19668656.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

