on 09-14-2008 3:28 AM
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="http://xxx.com/F2F"> 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="http://xxx.com/F2F">
<Row>
-
-
<Row>
</Employee>
Requirement Should be like below :
<bxml>
<Row>
---
---
</Row>
</bxml>
Please suggest me How Can I solve the above issue.
Regards
Pullarao
the simplest way is a java mapping, that will treat the inputstream as a string and then use string replace functions to get your result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.