|
Home > Online Product Documentation > Table of Contents > Instantiating Templates in the HTML Editor Instantiating Templates in the HTML EditorTo define a template in the WYSIWYG tab:
1. Drag an element or attribute from the source tree and drop it on the HTML canvas.
2. In the pop-up menu that appears, click
xsl:apply-templates.
Stylus Studio creates a template that matches the node you dragged in. You can select the placeholder, and apply formatting. Stylus Studio adds this information to the template. Calling a Named Template
If you have one or more named templates in your stylesheet, or if you want to define a named template, you can add an
To call or create a named template in the WYSIWYG tab:
1. Do one of the following:
2. Click the name of the template you want to instantiate, or click
Create new template to create a new named template.
|
EII - Enterprise Information Integration
Learn how to build EII applications with Stylus Studio's powerful Enterprise Information Integration Tools.
XML-DEV Blog
Join the XML Development discussion at XML-Dev - the hottest place to talk about XML technologies, trends, systems architecture and all the latest buzz. Bookmark this RSS and ATOM feed now!
Introduction to the XQuery Mapper
This free online video demonstration covers Stylus Studio's synchronized XQuery editing and mapping tool which allows you to create any XQuery expression, either manually using Stylus Studio's XQuery editor.
XSD Mapping
Stylus Studio® includes a visual XSD-to-XSD 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.