XML input stage issue
Posted: Thu Jun 28, 2012 3:39 am
Hi,
I am trying to parse a XML file and write it to a text file. I am not getting the correct output.
XML file used is:-
<?xml version="1.0" encoding="UTF-8"?>
<Fields>
<Col_1>7542></Col_1>
<Col_2>Success</Col_2>
</Fields>
The output that is received in the file is:-
"<Col_1>7542</Col_1>","<Col_2>Success</Col_2>"
The correct output should be:-
"7542","Success"
This was working correctly in datastage version 8.0 but recently we migrated to 8.5 where we are facing this issue. How can I solve this?
I am trying to parse a XML file and write it to a text file. I am not getting the correct output.
XML file used is:-
<?xml version="1.0" encoding="UTF-8"?>
<Fields>
<Col_1>7542></Col_1>
<Col_2>Success</Col_2>
</Fields>
The output that is received in the file is:-
"<Col_1>7542</Col_1>","<Col_2>Success</Col_2>"
The correct output should be:-
"7542","Success"
This was working correctly in datastage version 8.0 but recently we migrated to 8.5 where we are facing this issue. How can I solve this?