|
Home >Online Product Documentation >Table of Contents >How to Generate C# Code for XQuery How to Generate C# Code for XQueryTo generate C# code for XQuery:
1. Open the XQuery for which you want to generate C# code.
2. Define at least one scenario for the XQuery document. The scenario must use the Saxon processor. See Scenario Properties Used for Generating Code for more information.
3. Select the scenario for which you want to generate C# code.
4. Close the Scenario Properties dialog box.
5. Select XQuery > Generate Code > Generate C# Code from the Stylus Studio menu.
The Generate C# Code dialog box appears. (See Figure 395 .)
6. Specify the settings you want for the target directory, namespace and class names, and so on. See C# Code Generation Settings if you need help with this step.
7. Click OK.
Stylus Studio generates C# code for the XQuery. When the code generation is complete, the resulting file (classname |
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.
Energy Companies That Use Stylus Studio
Forget red bull! Many energy companies are using Stylus Studio 2006 for their quick pick me up during the work day. Come see which energy companies are getting the boost they need with Stylus Studio!
Java Web Services
Stylus Studio's Web Service Call Composer simplifies Java Web Service development by making it easy to find, invoke, and test any Java Web Service deployed on any popular Java Web Service framework, such as Apache AXIS.
Introduction to the XQuery Mapper
This free online video demonstration covers Stylus Studio's synchronized XQuery editing and mapping tool which allows you to create any XQuery expression, either manually using Stylus Studio's XQuery editor.


