|
Home >Online Product Documentation >Table of Contents >Using Stylus Studio Default Templates Using Stylus Studio Default TemplatesEvery stylesheet in Stylus Studio can use two built-in templates, even though they are not explicitly defined. This section covers the following topics to help you use these templates: Contents of a New Stylesheet Created by Stylus StudioWhen Stylus Studio creates a new stylesheet, the stylesheet includes the following built-in templates: Every XSLT stylesheet contains these templates whether or not they are explicitly specified. In other words, the XSLT processor behaves as if they are there even when they are not explicitly specified in the stylesheet. About the Root/Element Built-In Template
The first built-in template matches
This root/element built-in template contains only the What does the XSLT processor do when it operates on these children nodes? It searches for a template that matches each node. If there is no such template and if the node is an element, the XSLT processor instantiates the root/element built-in template. If the node is a text node and there is no matching template, the XSLT processor instantiates the text/attribute built-in template. If the node for which the root/element built-in template is instantiated has no children, the XSLT processor does no processing for this node and proceeds to the next selected node. The XSLT processor instantiates the root/element built-in template when it cannot find a template that explicitly matches the root node or an element in the source document. As you know, the XSLT processor always begins processing by instantiating the template that matches the root node. If you do not define such a template in your stylesheet, the XSLT processor begins processing by instantiating the root/element built-in template. About the Text/Attribute Built-In Template
The second specified built-in template matches
This template contains only the This template copies the text contained in the current text node or attribute to the result document. |
XMLSCHEMA-DEV Blog
XML Schema-DEV is an active community for XML Schema-releated development - join the discussion on XML Schema standards, tools, implementations and more. Bookmark this RSS or ATOM feed today!
Investments and Financial Companies That Use Stylus Studio
Stylus Studio provides XML tools & components to leading investment and financial companies! See which top investment and financial companies are banking on Stylus Studio 2006 to simplify their dollars and cents.
Government Agencies That Use Stylus Studio
Government agencies all around the nation are pledging their allegiance to Stylus Studio. Come see which government agencies are using the only XML IDE by the people and for the people.
Industrial & Farm Equipment
Industrial & farm equipment manufacturers are mowing away the time it takes for data integration with the power of Stylus Studio 2006! See which top industrial and farm equipment manufacturers are cowboying up with Stylus Studio.