Scenario Properties Used for Generating Code

When you generate code for XQuery, Stylus Studio uses some of the information associated with the active XQuery 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 XQuery processors for generating Java code:
l DataDirect XQuery ®
l Saxon
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 XQuery processor for which Java code generation is not supported, Stylus Studio uses the DataDirect XQuery ® processor for code generation purposes. The processor specified in the scenario is not changed.
Parameter Values
Parameters are always treated as XQuery expressions; they appear in the generated code just as they are entered in the Expression field.
Profiling Options
Ignored.
Validation
You can use the following validation engines for validating your XQuery 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 97. Scenario Properties that Affect Code Generation

Sybase

Sybase Adaptive Server Enterprise (ASE) is a powerful high-performance database for recording and retrieving business records. Learn how to develop XML applications for Sybase using Stylus Studio.

DTD Parser

Learn about the powerful DTD parser technologies that are supported in Stylus Studio's DTD tools, including DOM and SAX based DTD parsing components.

Translating XML documents to EDIFACT

In-place, via XSLT and via XQuery are all mechanisms supported for converting XML to EDIFACT

Single Source Publishing

Single source publishing is the ability to use one source of information for generating multiple types of output. Stylus Studio XML Publishing enables Single Source Publishing - publish PDF or HTML documents from Relational, XML or Legacy files.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member