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

Semiconductors & E-Components

Buuuuuzzzzz, zappp! There sure is a lot of electiricty flying with these semiconductors & c-component producers. It is because these top companies use Stylus Studio 2006 to light up their work day!

XML-to-HTML Mapper

Stylus Studio simplifies XML-to-HTML mapping through the industry's first and only XML to HTML mapping tool based on industry standard XSLT.

XQuery Blasts off at NASA's Johnson Space Center

This is a short story how DynCorp (CSC) used XQuery at NASA's Johnson Space Center to Simplify XML Data Access and Integration

XML Schema Mapping

Stylus Studio includes a visual XML Schema-to-XML Schema mapping tool that allows you to easily implement sophisticated XML data mappings involving multiple data sources and customized data processing using either XSLT or XQuery code.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member