Edit the data in ISPF and issue the following commands:

     C '<SSN>' '<TIN>' ALL
     C '</SSN>' '</TIN>' ALL

:>: -----Original Message-----
:>: From: IBM Mainframe Discussion List [mailto:[email protected]] On
:>: Behalf Of Ron Thomas
:>: Sent: Monday, April 30, 2012 10:13 AM
:>: To: [email protected]
:>: Subject: XML Parsing
:>:
:>: Hi ,
:>:
:>: We have XML file that is send by the customer, we need to alter the XML
:>: file and send it back to 3'rd party . Here is the xml file
:>:
:>: <SSN>123604299</SSN>..   <SSNFormatted>123-60-4299</SSNFormatted>
:>:
:>:
:>: The altered format need to be like the one below
:>:
:>: <TIN>123604399</TIN>..
:>:
:>: The SSNFormatted tag is removed & TIN is the one we need to send across
:>: to the 3'rd party. I would like get from the listners  how we can
:>: acheive the same.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to