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

Teradata Vantage™ - XML Data Type

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)
The following is a sample consolidated stylesheet document:
<?xml version="1.0" encoding="UTF-8"?>
   stylesheetURI="http://www.example.com/stylesheeturi" >
   <ComponentStylesheet locationURI="http://example.com/stylesheeturi"
      <xsl:stylesheet  …>
   <ComponentStylesheet locationURI="../xslt/includedstylesheet1.xsl"
      <xsl:stylesheet  …>

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.