Transforming XML data

To transform an XML file into an alternative XML format, you must specify the rules for the transformation using a transform XSL rule file.

XSL provides the following features:
  • Language for specifying formatting for XML documents
  • Language that describes how to transform an XML file into another regularly structured file
  • The transformation capability of XSL can be used to transform an XML file into another XML file that conforms to a different XML schema or DTD.

    IBM Rational Application Developer provides an XML to XML mapping editor that can be used to generate an XSL rule file that you can use with the xmltransform utility.

Procedure

To transform XML data to an XML format suitable to use with WebSphere Commerce:
  1. Create your transform XSL rule file.
  2. Run the xmltransform utility.