XSLT_SHRED Argument Types and Rules - 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ā„¢

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)

CHARACTER SET UNICODE

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