Generate C# .NET Code for XML Pipeline

 

XML Pipeline is available only in Stylus Studio XML Enterprise Suite.

You use the Generate C# .NET Code for XML Pipeline dialog box to specify the properties you want to use when generating C# code for your XML pipeline.

Fields

Target Directory

The target directory in which you want the C# code created. c:\temp\myPipelineC#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 the same directory as the .pipeline file.

Namespace

Stylus Studio uses the namespace name to create a subfolder in the target directory you specify. If you use myNamespace, for example, the generated code is written to c:\temp\myPipelineC#Code\myNamespace. (Though optional, it is considered good practice to create a namespace.)

Class Name

Stylus Studio 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\myPipelineC#Code\myClass.cs. Stylus Studio uses the XML pipeline name as the default class name.

Execution Log

Specifies the argument for the setExecutionLog method in the generated application. Choices are Console.out (the default), Console.err, and Quiet. Set to Quiet to turn off the log.

Open the C# File

Whether or not you want to open the generated code file.

Main Method

Whether or not you want the resulting .cs file to contain a static void Main(String
[ ] args)
method.

For More Information

Generating Code for an XML Pipeline

Execution Framework and Code Generation

Specifying an Execution Framework

Deployment Considerations

XSD Editor

XSD Editor provides a synchronized split-pane interface that simultaneously shows both a visual XSD Diagram and the underlying code, with changes in one pane immediately reflected in the other

Using DTD in Java Applications

Learn how to validate XML documents using industry-standard DTD's from within your Java applications using Java DTD components including Apache Xerces and XSV.

XQuery Blasts off at NASA's Johnson Space Center

This is a short story how DynCorp (CSC) used XQuery at NASA's Johnson Space Center to Simplify XML Data Access and Integration

XPath Introduction - Using XPath Queries to Extract Data from XML Documents

The XPath introduction covers how to use XPath code completion, XPath syntax highlighting, support for XPath 2.0 functions and XML namespaces to simplify your next XPath application.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member