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

Teradata Vantageā„¢ - XML Data Type

Advanced SQL Engine
Teradata Database
Release Number
July 2021
Last Update
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

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.