Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How Can I Delete Firstline & Second line in XML file.

Hi All,

I have requirement in File 2 File Scenario.In my target XML file I want to remove firstline i.e <?xml version="1.0" encoding="UTF-8" ?> and Second line is namespace line i.e <ns1:Employe xmlns:ns1=""> It should be replace with <bxml>.Also end tag in this file is </Employee> it should be replace with </bxml>.

Now Generating Target XML Is :

<?xml version="1.0" encoding="UTF-8" ?>

<ns1:Employe xmlns:ns1="">






Requirement Should be like below :







Please suggest me How Can I solve the above issue.



Former Member
Not what you were looking for? View more on this topic or Ask a question