C# Code Generation Settings

When you generate C# code for an XSLT document, Stylus Studio displays the C# Code Generation dialog box.

Figure 216. C# Code Generation Dialog Box

You use this dialog box to specify

  • The target directory in which you want the C# code created. c:\temp\myC#Code, for example. If the directory you name does not exist, Stylus Studio creates it when you run the Code Generation wizard.

The default is a \sources directory created in your Windows user data directory - C:\Documents and Settings\sula\My Documents\Stylus Studio\sources , for example.

  • Optionally, a namespace name. If you specify a namespace name, this name is used for a subfolder created in the target directory you specify. If you specify myNamespace as the package name, for example, the generated code is written to c:\temp\myC#Code\myNamespace. (Though optional, it is considered good practice to create a namespace name.)
  • The class name. Stylus Studio also uses the class name for the .cs file created by the Code Generation wizard. For example, if you provide the name myClass, Stylus Studio creates c:\temp\myC#Code\myNamespace\myClass.cs.

The default class name is taken from the XSLT file name.

  • Whether or not you want to open the generated code in a third-party development tool, like Microsoft Visual Studio, for example.

XQuery Documentation Generator

Stylus Studio provides integrated support for xqDoc so you can generate XQuery documentation directly from the XQuery editor.

XQuery Use Cases

Stylus Studio XQuery use-cases illustrate how users from different industries are putting the power, productivity, and ease of use of XQUery in their XML applications today!

Support for DataDirect SequeLink

Learn about Stylus Studio's support for DataDirect SequeLink, an end-to-end database middleware solution that provides a universal thin client for ODBC, JDBC, ADO or .NET, providing flexibility for both client- and server-based deployments.

Sun Multi-Schema XML Validator (MSV)

Learn how to integrate the Multi Schema Validator (MSV) into Stylus Studio as one of the Custom Validation Engines. It will work for files with a DTD, a single XSD, or both a DTD and a single XSD.

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.