I have a BizTalk map that look like this:
The string concat look like this:
when I test this map I get this output:
what I need is this output:
Can anyone tell me how I can get the shown output, where the .. tags and all the sub tags is not a string but is xml element tag..? I Need to do this in the shown BizTalk Map!
I have now made a small VS project where you can test and see how to solve my problem. You can download the project from this link:
For the test project map the input is this:
<ns0:SomeData xmlns:ns0="http://CustomSchemaMapping.SourceSchema">
<ID>0</ID>
<NAME>Test Person</NAME>
<YEAR>2022</YEAR>
</ns0:SomeData>
and the output should be like this:
<ns0:OutputData xmlns:ns0="http://CustomSchemaMapping.OutputSchema">
<OtherElement>Test</OtherElement>
<BrevparamXML>
<DATA>
<ID>0</ID>
<NAME>Test Person</NAME>
<YEAR>2022</YEAR>
</DATA>
</BrevparamXML>
</ns0:OutputData>
and NOT like this:
<ns0:OutputData xmlns:ns0="http://CustomSchemaMapping.OutputSchema">
<OtherElement>Test</OtherElement>
<BrevparamXML> <DATA><ID>0</ID><NAME>Test Person</NAME><YEAR>2022</YEAR></DATA>
</BrevparamXML>
</ns0:OutputData>