cancel
Showing results for 
Search instead for 
Did you mean: 

Removing unicode and namespace ?

Former Member
0 Kudos

Here is the problem.

The first line of the file: <?xml version="1.0" encoding="UTF-8" ?>

Needs to be removed.

The following tag needs to be added as the first line in the file: <bXML>

Note that the closing </bXML> also needs to be added at the end of the file.

The second line of the file: <ns1:Catalog xmlns:ns1="http://S.com/xi/CLN/D/catalog">

Has to be removed entirely.

In addition the closing </Catalog> tag has to be removed.

Required output would be like below

<bxml>

<Row>

---

---

</Row>

</bxml>

regards

krishna

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

You got to take the first line? I am also in need.

Thank you.

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

Write simple XSLT program to remove name space or first line.

I have written XSLT program , try your self if unabl;e to achieve let me know.

cheers,

Raj

Former Member
0 Kudos

Hi

for removing ns0 from the namespace

just remove xmlns="<name space>"

from the xsd

regards

kummari

Former Member
0 Kudos

check below links

Former Member
0 Kudos

to remove namespace, you can refer this:

How to remove namespaces in Mapping - XI

Former Member
0 Kudos

Hi,

I need to remove the first line of the message also

Here is the problem.

The first line of the file: <?xml version="1.0" encoding="UTF-8" ?>

How to remove this line from the message..

regards

krishna

stefan_grube
Active Contributor
0 Kudos

This is only possible with XSLT mapping or Java mapping.

Regards

Stefan