|
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 |
Food & Beverage Services
"I'll have a burger and a side of Stylus Studio", says these top food & beverage services that use Stylus Studio in everyday operations. Come see which food & beverage services eat up the idea of having the most powerful XML IDE at their finger tips!
XML Development Blogs
Blogging is the hottest fad on the Internet and Stylus Studio has jumped on the bandwagon. Bookmark these XML Blogs to keep up with all the latest XML buzz in the internet blogosphere. Includes RSS and Atom Feeds!
Data Integration Tools: Using the Stylus Studio XML Pipeline to Visually Integrate and Publish Data
Data Integration Tools from Stylus Studio include a visual pipeline editor, support for non-XML data sources, scalable data integration components, cross-language debugging and Java code generation. Try it now.
Translating XML documents to X12
In-place, via XSLT and via XQuery are all mechanisms supported for converting XML to X12