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.

Creating 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

Government Agencies That Use Stylus Studio

Government agencies all around the nation are pledging their allegiance to Stylus Studio. Come see which government agencies are using the only XML IDE by the people and for the people.

Using Stylus Studio's Database-to-XML Editor to Query and Update Relational Databases using SQL/XML

Watch and learn how easy it is to define relational-to-XML mappings for getting XML out of relational databases and updating databases from XML using industry-standard SQL/XML extensions and Stylus Studio's DB-to-XML data-source editor.

Chemical Companies That Use Stylus Studio

When working in a lab it's always important to have the right ingredients. That's why top chemical companies use Stylus Studio 2006 to create the ultimate experiments. See which of these top chemical companies are using Stylus Studio today!

DTD Generator

Stylus Studio's DTD Generator supports the automatic generation and association of both internal and external DTDs based on XML instance documents.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member