16.20 - XSLT_SHRED Argument Types and Rules - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ XML Data Type

Teradata Database
Teradata Vantage NewSQL Engine
Release Number
Release Date
March 2019
Content Type
Programming Reference
Publication ID
English (United States)

XSLT_SHRED takes the following input arguments and returns a result code.

Parameter Name Parameter Type Data Type Description
xmlDoc IN XML The XML document that will be shredded to the target table.

An error is reported if this parameter is NULL.

xsltMapping IN XML An XSLT stylesheet provides the mapping from the XML document elements to be shredded to the target table columns.
externalContext IN VARCHAR(512)


A semicolon separated list of name=value pairs that parameterize the shredding operation. These values override configuration parameters, such as defaultDatabase, that are specified in the annotated stylesheet mapping.
resultCode OUT INTEGER A return code where:
  • 0 = success
  • 1 = failure