7.00.02 - XMLParser - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
zuk1466006200888

The XMLParser function takes XML documents and outputs their element names, attribute values, and text in a relational table, which you can search with SQL queries.

XML data is semistructured and hierarchical, unlike the data in relational database tables. Therefore, you cannot search XML data with SQL queries unless you first relationalize the XML data (that is, put it in a relational database table).

Not all XML data can be relationalized; therefore, the XMLParser function constrains the relationships in the extracted data to grandparent/parent/child, parent/child, ancestor, and sibling relationships. The function lets you specify these constraints and the output table schema.