BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

It is possible to modify the XML Mapper?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML
View previous topic :: View next topic  
Author Message
Eduardo B.
Guest





PostPosted: Fri Oct 06, 2006 12:45 am    Post subject: It is possible to modify the XML Mapper? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.