I've got several places where I want to re-use a mapping, but I want
to change the name of the element tag on a case-by-case basis. I
haven't been able to do that so far. Here's an example:
<mapping name="Name1" class="CollectionClass">
<value name="name" field="field">
</mapping>
<mapping name="Root" class="RootClass">
<structure name="A">
<collection field="a" class="CollectionClass">
</structure>
<structure name="B">
<collection field="b" class="CollectionClass">
</structure>
</mapping>
My result would be something like this:
<Root>
<A>
<Name1>
<name/>
</Name1>
</A>
<B>
<Name1>
<name/>
</Name1>
</B>
</Root>
I want to change the "Name1" tag to something specific like so:
<Root>
<A>
<AName1>
<name/>
</AName1>
</A>
<B>
<BName1>
<name/>
</BName1>
</B>
</Root>
Any ideas on how to do this?
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users