|
Home > Online Product Documentation > Table of Contents > Viewing Templates Viewing TemplatesStylus Studio provides different ways to display lists of templates, specific templates, as well as ways to see if a given template generates any output. Viewing a List of TemplatesTo view a list of the templates in the stylesheet
1. Click the down arrow in the upper right corner of the XSLT editing pane.
Stylus Studio displays a drop-down list of the first five match patterns in the stylesheet. To limit the displayed list, type in the combo box to the left of the down arrow. Stylus Studio displays only those patterns that match the character(s) you typed.
2. Click the match pattern for the template you want to view. It does not matter whether the XSLT editor is in
Full Source
Viewing a Specific TemplateTo view a particular template, double-click its matching element in the XML tree view, which is displayed to the right of the editing pane. If the element has more than one template, Stylus Studio displays a list of the templates. Click the one you want. Checking if a Template Generates OutputTo see if a particular template generates any output:
1. Select a template in the XSLT templates pane.
2. Click
Refresh
3. In the
XSLT Preview window, with output text displayed, scroll as necessary to find text highlighted in gray. Text with a gray background was generated by the selected template.
|
XPath Generator
Stylus Studio includes an XPath generator that helps you easily create XPath expressions. This page illustrates how you can accomplish this.
XML Differencing
Stylus Studio's integrated XML Differencing tool visually computes and analyzes any changes made to files or folders in a highly configurable, XML-aware fashion. Display text or tree views, with changes displayed in a merged view or side-by-side!
Metals, Mining & Crude-Oil Production
It can be very dark and dreary in a mine. That's why metal, mining & crude-oil production are using Stylus Studio as their light when it comes to data integration. See which of these top companies are using Stylus Studio to show them the way to XML!
Building DataDirect XML Converter Applications with Stylus Studio
DataDirect XML Converters are Java and .NET components that enable access to any data (flat files, EDI) from your application code. Learn how to deploy XML applications today.