XML Validation | XML Data Type | Teradata Vantage - XML Validation - 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ā„¢
To validate an XML document:
  1. Design the schema and test it using tools such as Stylus Studio, XML Spy, or Oxygen. Sometimes schemas are also available from external sources, such as standards bodies like FpML or ACORD.
  2. If the schema document contains includes or imports, consolidate it using the Schema and Stylesheet Consolidation utility.
  3. Insert the schema into a database table.
  4. Use methods on the XML type like CREATESCHEMABASEDXML or ISSCHEMAVALID to validate an XML value. Join with the table containing the schema to provide the schema to the method.

In addition, you can download sample schemas and the Schema and Stylesheet Consolidation utility from Teradata Downloads.