C# Code Generation

 

The C# Code Generation wizard is available only in Stylus Studio XML Enterprise Suite.

You use the C# Code Generation dialog box to specify information Stylus Studio will use to generate C# code for the current XQuery or XSLTdocument. C# files are generated with a .cs extension.

Fields

Target directory

The directory to which you want to write the generated code. You can

  • Use the default - the Windows Application Directory ( C:\Documents and Settings\dfoster\My Documents\Stylus Studio\sources, for example). The \Stylus Studio folder is created when you install Stylus Studio; the \sources folder is created for the generated code.
  • Type a directory path by hand.
  • Use the browse button ( ) to select a file system directory.

Namespace

The name you want to use for the C# namespace, which sets the scope for the generated C# code. Left blank by default.

Class name

The name you want to use for the generated C# class. By default, this is the name of the document for which you are generating the C# code.

Open the generated filet

Whether or not you want to open the generated file in a third-party application (Microsoft Visual Studio, for example).

For More Information

Generating C# Code for XQuery

Generating C# Code for XSLT

XML-DEV Discussion Forum

XML-DEV is a leading technical forum for XML discussion and a valuable free XML learning resource. Subscribe to the XML-DEV email discussion forum today to help further your XML education.

W3C XML Specifications

Learn about the official W3C XML specifications for XML, XSLT, XQuery, XPath, DOM, XML Namespaces, XInclude, XML Base, XPointer, WSDL and more.

XSLT Debugger

Stylus Studio's XSLT debugger - a requirement for building bug-free XSLT stylesheets and XML data transformation applications. Stylus Studio's XSLT debugger gives you complete visibility and control over the XSLT transformation process.

XML Well-Formedness Checker & XML Indenter

Tidy up your XML documents with powerful integrated XML editing utilities including a single-click XML formatter, pretty printer, XML indenter and XML well formedness checker.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member