|
Home > Online Product Documentation > Table of Contents > Creating Templates Creating TemplatesTo do anything beyond copying the text from your XML document to the result document, you must create templates. You can create new templates several ways:
Try creating a new template that matches an XML element in your document:
1. Double-click an element in the tree view of your XML document.
2. Enter the following instruction in the new template:
3. In another template, ensure that there is an
xsl:apply-templates instruction that selects the new template's element for processing.
4. Press F5 to apply the stylesheet and refresh the current scenario in the
Preview window.
Notice that the text contents of the element for which you created the template are now displayed in bold - the XSL instruction is formatted with
By creating additional templates to style portions of your XML document, you can completely control how the document appears. Saving a Template
To save a template, save the stylesheet. Click
Save
|
Chemical Companies That Use Stylus Studio
When working in a lab it's always important to have the right ingredients. That's why top chemical companies use Stylus Studio 2006 to create the ultimate experiments. See which of these top chemical companies are using Stylus Studio today!
Text File to XML
Stylus Studio provides several easy-to-use document wizards that allow you to quickly convert text files to XML. Create XML from text and EDI, create XML Schema from EDIFACT, and more!
Writing Custom XML Adapters
There are cases where the input format is too complicated for Convert to XML, or both reading and writing of the file format is needed. This section will take you through the process of writing a medium-sized adapter in Java.
Energy Companies That Use Stylus Studio
Forget red bull! Many energy companies are using Stylus Studio 2006 for their quick pick me up during the work day. Come see which energy companies are getting the boost they need with Stylus Studio!