7.00.02 - XMLRelation Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Version 1.3
SELECT * FROM XMLRelation (
  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') ]
  [ Output ({ 'fulldata' | 'parentchild' | 'fullpath' }) ]
  [ ErrorHandler ('{'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}
    [;[output_column:] column[,...] ]') ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
);
In the ExcludeElements argument, you must type the braces ({ and }). For example: