xml spy
Previous  Top  Next
XSL

The "XSL" tab allows you to define which program to use for XSL Transformations.

XML Spy includes full support for XSL Transformations, and can either use the MSXML 3.0 or 4.0 parser (which is pre-installed) or any external XSLT processor for this purpose. The "Choose version automatically" option is active per default. XML Spy first tries to use version 4.0 and if not available version 3.0. You can however, manually choose either version by clicking the respective radio button.

ref_p268a

Use Microsoft XML Parser (MSXML) 3.0 or 4.0
If you are using Internet Explorer 5 or above (i.e. the MSXML module) for XSLT processing, you must specify if the resulting output is to be transformed as an XML-compliant document (such as XHTML or WML), or non-XML compliant text files.

Installing other XML Parsers
The Component Download Center, accessible through the menu option Help | Components Download, allows you to download and use different XSL processors. The XSL tab below, shows that Infoteria iXSLT 2.0c has been installed.
ref_p269a

External XSL transformation program
If you are using an external XSL processor, you must specify a command-line string that is to be executed by XML Spy in order to initiate the XSL Transformation. In this case, use the following variables to build your command-line string:

%1the XML instance document that is to be processed  
%2the output file that is to be generated  
%3the XSL Stylesheet to be used (optional, if the document contains an <?xsl-stylesheet ...?> reference  

You can also choose to show the result of the external XSLT processor directly within XML Spy in a message box.

Please see the technical background information on XSLT Processors for further details.

Previous  Top  Next

⌐ 2002 Altova