XSLT is a general purpose way to transform XML documents.
http://en.wikipedia.org/wiki/XSLT

The IBM "XML Toolkit for z/OS"  includes the command-line (or batch) XSLT
tool "Xalan".

Like most XSLT processors, Xalan has two inputs: the original XML document
and a "XSL" (XML Style sheet) document and the output is another XML
document.

There are examples of how to run XSLT on z/OS on p. 61 of the z/OS XML
Toolkit User's Guide:
http://www-03.ibm.com/systems/resources/ixmza291.pdf

XSLT is a little intimidating at first, but it is not nearly as hard as it
looks.  See for example the Wikipedia sample:
http://en.wikipedia.org/wiki/XSLT#Example_1_.28transforming_XML_to_XML.29

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

On Mon, Apr 30, 2012 at 12:13 PM, Ron Thomas <[email protected]> wrote:

> 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.
>
>
> Thanks,
> Ron T
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to