|
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
|
XML Processing
Learn how to simplify XML Processing using Stylus Studio XML Pipeline, the easiest way to visually design and deploy virtually any XML processing tasks.
Web Service Testing Tools
The Stylus Studio Web Service Tester allows you to easily locate, build references to, and test Web services for XML applications based on WSDL, SOAP, and UDDI standard Web service technologies.
Biotechnology & Pharmaceuticals
Leading biotechnology & pharmaceuticals companies take Stylus Studio when they are feeling under the weather. Come see for yourself how Stylus Studio can be a pick me up for your biotechnology or pharmaceutical company.
Using Stylus Studio with RenderX XEP
RenderX XEP is a production-quality engine that converts XSL:FO into PDF or PostScript files. You can use RenderX XEP in place of the Apache FOP engine to render PDF files from Stylus Studio.