Example: Consolidated Stylesheet Document - Advanced SQL Engine - Teradata Database

XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
amr1556233250442.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1140
lifecycle
previous
Product Category
Teradata Vantage™
The following is a sample consolidated stylesheet document:
<?xml version="1.0" encoding="UTF-8"?>
<ConsolidatedStylesheet
   stylesheetURI="http://www.example.com/stylesheeturi" >
   <ComponentStylesheet locationURI="http://example.com/stylesheeturi"
      <xsl:stylesheet  …>
      ....
      </xsl:stylesheet>
   </ComponentStylesheet>
   <ComponentStylesheet locationURI="../xslt/includedstylesheet1.xsl"
      <xsl:stylesheet  …>
      ....
      </xsl:stylesheet>
   </ComponentStylesheet>
</ConsolidatedStylesheet>

The ConsolidatedStylesheet element is the document element for the consolidated stylesheet document. It is the envelope that contains the individual component stylesheets. Each component is wrapped in a ComponentStylesheet element which includes a locationURI attribute. The base stylesheet has a stylesheetURI attribute whose value matches the locationURI of one of the components. The stylesheet is compiled starting at this component, and stylesheet includes occurring in that stylesheet are resolved using the locationURI attribute on the ComponentStylesheet elements.