Example: Consolidated Stylesheet Document - Teradata Vantage - Analytics Database

XML Data Type

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Publication Date
June 2022
Content Type
Data Types
SQL Reference
Publication ID
B035-1140-172K
ft:locale
en-US
ft:lastEdition
2023-10-30
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
ft:sourceId
dita
dita:id
dgs1472251600184
lifecycle
latest
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.