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

Telecommunications Companies That Use Stylus Studio

Can you here me now? When it comes to telecommunications and XML it can get a little fuzzy. That's why these top telecommunication companies turn to Stylus Studio to connect them to their XML needs.

XML-to-XML Mapper

XML to XML mapping tools in Stylus Studio provide a powerful visual interface for mapping XML data from-and-to virtually any data format using industry-standard XSLT and XQuery technologies.

XQuery Debugger

The Stylus Studio XQuery Debugger allows you to set breakpoints and step through the evaluation of any XQuery expression in a way that gives you complete control and visibility into the XQuery expression evaluation process.

XSL:FO Editor

The XSL-FO editor provides syntax help, code completion integrated PDF preview, and integration with industry-leading XSL-FO processors including RenderX XEP and Apache FOP. Simplify XSL FO development with Stylus Studio.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member