mahtab1358
Technical User
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
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