Skip to Content
0
Former Member
Aug 25, 2011 at 03:35 PM

Formatting XML file to avoid mapping parser error

32 Views

Hi,

We have requirement in our project to process input xml file which is of the below format:

<message>

<data>

<xml version=1.0 code=utf/>

<test>

<data>book</data>

</test>

</data></message>

Since <xml> tag is at the middle it is throwing a exception error in mapping.

Actual requirment is that we need

<test>

<data>book</data>

</test>

The xml of the above format is generated by some external system which PI need to pick it.

I think is not possible in XSLT mapping as it is not starting with xml tag .

So please let me know pointer ot resolve the issue.

Thanks in advance.