Home

 

Creating a new XSL transformation file

To create a sample XSL transformation file, follow these steps:

Right-click the xml folder and select New Æ Other Æ XML Æ XSL, then click Next.

In the File name field type Accounts.xsl and click Next.

In the Select XML file dialog, select the Accounts.xml file (expand RAD75XMLBank/xml). This associates the Accounts.xml file with the Accounts.xsl file.

Click Finish.

The generated XSL file is listed in...

Example 10-2 Generated Accounts.xsl file

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:xalan="http://xml.apache.org/xslt">
</xsl:stylesheet>

ibm.com/redbooks