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
Only the Saxon processor supports C# code generation for XQuery.
Note: If the scenario specifies an XQuery processor for which C# code generation is not supported, Stylus Studio uses the Saxon 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 C# code:
l .NET XML Parser
l Saxon
If you choose a validation engine that is not supported, Stylus Studio uses the .NET XML parser.
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 98. Scenario Properties that Affect Code Generation

Java IDE

Edit, compile and debug and generate Java code with Stylus Studio's Java Integrated Development Environment (IDE). Supports popular Java XML processing components including Apache Xalan, Apache Axis, Apache Xerces, Saxon and more.

Using DataDirect XQuery with Stylus Studio

Learn how to query any relational database using XQuery and the XQuery API for Java using DataDirect XQuery, an embeddable Java component, and Stylus Studio the world's leading XML IDE.

XQuery Functions - User Defined Functions in XQuery

Dr. Michael Kay's tutorial entitled: 'Defining your own Functions in XQuery' explains how to write powerful User Defined Functions in XQuery.

Electronic Data Interchange (EDI) Blog

The EDI-L Blog is the best technical forum for discussing topics related to Electronic Data Interchange (EDI), including EDIFACT, and X12 Technologies. Topics include EDI Software, EDI Standards, EDI applications, EDI examples, and more.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member