Please enable JavaScript to view this site.

Altova XMLSpy 2020 Professional Edition

To transform the XML document using the XSL file you have assigned to it:


1.Ensure that the XML file is the active document.
2.Select the menu option XSL/XQuery | XSL Transformation (F10) or click the ic_xsl_transf icon. This starts the transformation using the XSL stylesheet referenced in the XML document. (Since the Company.xsl file is an XSLT 1.0 document, the built-in Altova XSLT 1.0 Engine is automatically selected for the transformation.) The output document is displayed in Browser View; it has the name XSL Output.html. (If the HTML output file is not generated, ensure that, in the XSL section of the Options dialog (Tools | Options), the default file extension of the output file has been set to .html.) The HTML document shows the Company data in one block down the left, and the Person data in tabular form below.


Note: Should you only see a table header and no table data in the output file, make sure that you have defined the target namespace for your schema as detailed in Defining your own namespace at the beginning of the tutorial. The namespace must be identical in all three files (Schema, XML, and XSL).


© 2020 Altova GmbH