Scenario Properties Used for Generating Code

When you generate code for XSLT, Stylus Studio uses some of the information associated with the active XSLT scenario, as specified in the Scenario Properties dialog box.

The following tables summarizes the scenario properties that affect code generation.

Tab
Comment
General
The Code Generation wizard uses only the Source XML URL and the Output URL field, if specified. All other properties on this page are ignored.
Processor
You can use the following XSLT processors for generating Java code:
l Saxon
l Java built-in
If the Stylus Studio URI Resolver property is selected, the generated code includes lines that import and register ConverterFactory and ConverterResolver classes from DataDirect XML Converters.
Note: If the scenario specifies an XSLT processor for which Java code generation is not supported, Stylus Studio uses the Java built-in processor for code generation purposes. The processor specified in the scenario is not changed.
Parameter Values
By default, parameter values are treated as a literal string. If you prefer to have parameter values treated as XPath expressions in the generated code, check the Parameter value is an XPath expression (not a string) checkbox.
Profiling Options
Ignored.
Validation
You can use the following validation engines for validating your XSLT Java code:
l Saxon
l Java built-in
If you choose a validation engine that is not supported, Stylus Studio uses the Java built-in validation engine.
Post-process
Only post-processing using Apache FOP and RenderX XEP is specified in the generated code. Resulting PDF is written to the output URL specified on the General tab.
Table 51. Scenario Properties that Affect Code Generation

XSD Mapping

Stylus Studio® includes a visual XSD-to-XSD mapping tool that allows you to easily implement sophisticated XML data mappings involving multiple data sources and customized data processing using either XSLT or XQuery code.

XML Schema Mapping

Stylus Studio includes a visual XML Schema-to-XML Schema mapping tool that allows you to easily implement sophisticated XML data mappings involving multiple data sources and customized data processing using either XSLT or XQuery code.

XML Editor

Stylus Studio XML editor includes many XML editing utilities and features to simplify XML development, including intuitive XML editing views, integrated XML validation and troubleshooting utilities, XML formatting tools, XML generation tools, etc.

Open XSLT Architecture

Learn how Stylus Studio's Open XSLT Architecture enables you to use any of the popular industry-standard XSLT processors (like Saxon, Xalan-J, MSXML, Microsoft .NET, and others) for all your XSLT development tasks.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.