Resolving Schema Dependencies | XML Data Type | Teradata Vantage - Resolving Schema Dependencies - Advanced SQL Engine - Teradata Database

XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
kxe1590704060061.ditamap
dita:ditavalPath
kxe1590704060061.ditaval
dita:id
B035-1140
lifecycle
previous
Product Category
Teradata Vantageā„¢

An XML schema consists of one or more XSD documents. Each of these schema documents can import or include other schema documents, resulting in a series of dependencies that must be resolved in order to obtain a complete XML schema. The XML type methods that require a schema expect a consolidated schema in which all of the dependencies have been resolved.

The consolidated schema document consists of an envelope which contains the XML representations of all the component schema documents. This consolidated schema document can then be used to construct the grammar for the intended schema.

You can use the Schema and Stylesheet Consolidation utility to consolidate your schema document before passing the schema to an XML method.

You can download sample schemas and the Schema and Stylesheet Consolidation utility from Teradata Downloads.