XSLTTRANSFORM Syntax - Analytics Database - Teradata Vantage

Teradata Vantageā„¢ - XML Data Type - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-01-27
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dgs1472251600184
Product Category
Teradata Vantage
XSLTTRANSFORM (
  xsl,
  parammap
)

Syntax Elements

xsl
The stylesheet as an XML value.
xsl must be an XML type. If xsl is NULL, XSLTTRANSFORM returns NULL.
The XSLTTRANSFORM method accepts an XSLT stylesheet as a parameter and transforms the XML value by applying the stylesheet. The xsl stylesheet should be stored as an XML type value in a table with a unique identifier associated with it. When invoking this method, you can join the stylesheet table and specify the stylesheet by its unique identifier in the WHERE clause.
If the xsl stylesheet is composed of a single stylesheet document (the stylesheet document does not include another stylesheet document), you can pass the stylesheet document as an XML type value to this method.
If the xsl stylesheet consists of more than one document, then do the following:
  1. Use the Schema and Stylesheet Consolidation utility to consolidate the stylesheet document.
  2. Pass the consolidated stylesheet document as an XML type value to this method.
parammap
The parameters for stylesheet processing as semicolon separated name=value pairs. The semicolons in the values are escaped as ;;.
parammap must be VARCHAR(n), where the maximum supported size (n) is 8192.