cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need to remove XML version header on XML Document

Former Member
0 Likes
1,825

Hello Everybody,

I am generating an XML file using an FTP adapter and in the generated XML we are having first line as

<XML vesrion ... >, is there any way to remove this line from XML document?

Please provide your inputs as soon as possible.

thanks,

Vijay Kumar T.

View Entire Topic
Former Member
0 Likes

Hi,

Open your Message Type in Integration Repository and from field 'XML Namespace', just delete it from there. Thta's it.

Regards,

Sarvesh

Former Member
0 Likes

Hi Sarvesh,

I am using External definition XSD for my purpose and i am importing the XSD by removing the header line but then also it is coming as first line while creating External definition. Please provide me any other thoughts.

Thanks,

Vijay Kumar T.

Former Member
0 Likes

If it is possible to use Data Type instead of XSD then you can remove the namespace from corresponding Message Type in which you will use this Data Type.

Regards,

Sarvesh

Former Member
0 Likes

Hi Sarvesh,

Even we are able to delete the XML namespace from XSD itself but the problem is with the first line which specifies XML version, i need to remove that line in generanted XML file.

Thanks,

Vijay Kumar T.

Former Member
0 Likes

Hi,

As Kulwant said is correct use XSLT mapping. take the help of this blog..

Regards,

Sarvesh