Sure, have a look at
http://castor.org/xml-mapping.html#6.-Location-attribute
to get an idea of the 'location' attribute and its usage.
Werner
fmarchioni wrote:
> 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
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email