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

JavaServer Pages IDE (JSP IDE)

The Stylus Studio JSP IDE provides syntax help and code completion for developing JSP 1.2 and JSP 2.0 applications.

Support for DataDirect SequeLink

Learn about Stylus Studio's support for DataDirect SequeLink, an end-to-end database middleware solution that provides a universal thin client for ODBC, JDBC, ADO or .NET, providing flexibility for both client- and server-based deployments.

XML Schema Quality Checker

Use IBM's alphaWorks XML Schema Quality Checker to check the quality and style of your XML schema documents. Fully integrated with the Stylus Studio XML Schema Editor and XML validator.

XML Schema Validator, DTD Validator

Stylus Studio lets you validate XML documents using integrated XML Schema or DTD validators. Use the Stylus Studio built-in validator, or any number of supported XML parsers and XML validators like MSXML SAX and DOM, Xerces, .NET, and more!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member