Named/Matched Template

Use the Named Template or the Matched Template dialog box to create a new named or matched template in an XSLT stylesheet. In addition to specifying the template's name and mode, you can also define template parameters and their default values.

Fields

Name

The template name.

Mode

The template mode. You can use a mode to define the conditions under which a template will be applied by a stylesheet.

Parameter List

A list box that displays the parameters, and their default values, associated with this template.

How to Create a Parameter

To create a parameter
1. Click the Add button.

The Name column becomes editable.

2. Type a parameter name and press Enter.

The Default Value field becomes editable.

3. Type a default value.
4. If you want to define another parameter, click ADD; otherwise, click OK to finish creating the template.

For More Information

Chapter 5Creating XSLT Using the XSLT Mapper

Building DataDirect XQuery Applications

Stylus Studio further simplifies relational and XML data integration by providing advanced XQuery tools support for building XQuery applications which use DataDirect XQuery.

Writing Custom XML Adapters

There are cases where the input format is too complicated for Convert to XML, or both reading and writing of the file format is needed. This section will take you through the process of writing a medium-sized adapter in Java.

Introduction to Convert to XML

Convert to XML is Stylus Studio's all-purpose utility for getting legacy data integration of all sorts into a custom XML format. This video provides an overview of the tool and walks you through a sample CSV to XML data transformation project.

XML Processing

Learn how to simplify XML Processing using Stylus Studio XML Pipeline, the easiest way to visually design and deploy virtually any XML processing tasks.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member