on 01-04-2011 2:57 PM
Hi PI expert,
I need to convert an xml document generated by message mapping.
Source message :
<?xml version="1.0" encoding="utf-8" ?>
<invoice>
<cbc:TAG1 xmlns:cbc="urn:myurn">A</cbc:TAG1>
<cac:TAG2 xmlns:cac="urn:myotherurn">B</cac:TAG2>
</invoice>
Target message :
<?xml version="1.0" encoding="utf-8" ?>
<invoice xmlns:cbc="urn:myurn" xmlns:cac="urn:myotherurn">
<cbc:TAG1> A</cbc:TAG1>
<cac:TAG2> B</cac:TAG2>
</invoice>
I'm already using XMLAnonymizerBean module in the receiver cc and succeed to convert ns0, ns1,... to cbc, cac, ...
but i'm not able to transform to the requested target.
Do you know how can i achieve that in a simple way (without java or xlst mapping) ?
Thanks in advance,
Patrice
>
> Hi PI expert,
>
> Source message :
>
>
> <?xml version="1.0" encoding="utf-8" ?>
> <invoice>
> <cbc:TAG1 xmlns:cbc="urn:myurn">A</cbc:TAG1>
> <cac:TAG2 xmlns:cac="urn:myotherurn">B</cac:TAG2>
> </invoice>
>
>
> Target message :
>
>
> <?xml version="1.0" encoding="utf-8" ?>
> <invoice xmlns:cbc="urn:myurn" xmlns:cac="urn:myotherurn">
> <cbc:TAG1> A</cbc:TAG1>
> <cac:TAG2> B</cac:TAG2>
> </invoice>
>
Both are semantically equal. You waste your time! Just go ahead with the source.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.