How to Generate C# Code for XSLT

To generate C# code for XSLT:
1. Open the XSLT document for which you want to generate C# code.
2. Define at least one scenario for the XSLT document for which you want to generate C# code. The scenario must use the Saxon processor. See <hyperlink>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 XSLT > Generate C# Code from the Stylus Studio menu.

The Generate C# Code dialog box appears.

Figure 217. C# Code Generation Dialog Box

6. Specify the settings you want for the target directory, package and class names, and so on. See <hyperlink>C# Code Generation Settings if you need help with this step.
7. Click OK.

Stylus Studio generates C# code for the XSLT. When the code generation is complete, the resulting file (classname .cs) is opened in a third-party editor if you chose the Open the generated file option.

Using Stylus Studio with RenderX XEP

RenderX XEP is a production-quality engine that converts XSL:FO into PDF or PostScript files. You can use RenderX XEP in place of the Apache FOP engine to render PDF files from Stylus Studio.

OASIS Catalogs for Fun and Profit

This tutorial about, Understanding Catalogs, A Use-Case for Catalogs, Registering Catalogs in a Project, Using the DOCTYPE Syntax Sense:X Aid, Navigating Catalogs, Building Composite Catalogs, Converting TR9401 Catalogs to OASIS XML Catalogs and more

Stylus Studio Enables Multi-Channel Publishing for University of Pittsburg Professor

Learn how Dr. David Birnbaum of the University of Pittsburgh uses Stylus Studio to develop customized XSLT stylesheets that produce enhanced versions of source documents in different output formats, including Web and print.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member