 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Eduardo B. Guest
|
Posted: Fri Oct 06, 2006 12:45 am Post subject: It is possible to modify the XML Mapper? |
|
|
Hi,
I'm trying to map a xsd file that contains lots of complex types like this:
<element name="origem">
<complexType>
<choice>
<element name="codigoPrestadorNaOperadora"
type="ans:st_codigoPrestadorNaOperadora"/>
<element name="registroANS" minOccurs="1"
type="ans:st_registroANS"/>
</choice>
</complexType>
</element>
<element name="destino">
<complexType>
<choice>
<element name="codigoPrestadorNaOperadora"
type="ans:st_codigoPrestadorNaOperadora"/>
<element name="registroANS" minOccurs="1"
type="ans:st_registroANS"/>
</choice>
</complexType>
</element>
The problem is that the XML Mapper maps this to a DataPacket that contais
these fields:
codigoPrestadorNaOperadora1
origem_registroANS
codigoPrestadorNaOperadora2
destino_registroANS
To me, it would be nice if the resulted DataPacket had theses fields:
origem_codigoPrestadorNaOperadora
origem_registroANS
destino_codigoPrestadorNaOperadora
destino_registroANS
I think that, with the source in hands, it will be easy to change this
behavior.
What do you think?
Thanks!
Eduardo Baião. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|