1.0 - 8.00 - XMLRelation Syntax - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Version 1.9

SELECT * FROM XMLRelation (
  ON { table | view | (query) }
  USING
  TextColumn ('text_column')
  DocIDColumns ({ 'docid_column' | docid_column_range }[,...])
  [ MaxDepth (max_depth) ]
  [ ExcludeElements ('node[/...][{node[,...]}]' [,...]) ]
  [ AttributeAsNode ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ AttributeDelimiter ('delimiter') ]
  [ OutputType ({ 'fullpath' | 'fulldata' | 'parentchild' }) ]
  [ ErrorHandler ('{'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}[;[output_column:] column[,...] ]') ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
) AS alias;
In the ExcludeElements argument, you must type the braces ({ and }).