Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xml Mapper file

Status
Not open for further replies.

mahtab1358

Technical User
May 20, 2008
1
CA
Dear All

I am a BPM developer and I want to convert a xml to another xml file , I need a xml mapper file that indicates to mapping elements thus which element from first xml must be convert to which element in second xml , my suggestion for this purpose is as follow :
<mapping xmlns:xpdExt=" >
<configuration from ="xpdl" inputSchema=" to="bpss" outputSchema=" <tag element="Lane" mapElement="Role">
<attributes>
<attribute attrName="Id" mapAttribute="nameId" />
<attribute attrName="name" mapAttribute="name" />
</attributes>
</tag>
</mapping>

I mean in this mapper file that Lane element in xpdl file can be map to Role element in bpss file , I define input and output files in configuration tag , also I mentioned theirs schema ,
Now I need your Idea about this mapper file and I attend to listen your suggestion to improve it and please answer may questions :
1. when elemets has sub tags in second xml file I dont know how I can show their mapping in this file ?
2. I want to have condition statements in this xml file then compile and execute this conditions in java file , but I dont know how I can do it?

Please Help me.

Thanks alot.

Shariat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top