XML query functions

This section describes the SQL extensions for accessing and processing XML documents in SQL statements. The functions are as follows:

Table 2-1: XML query functions

Function

Description

xmlextract

A built-in function that applies an XML query expression to an XML document and returns the selected result.

xmltest

A SQL predicate that applies an XML query expression to an XML document and returns the boolean result.

xmlparse

A built-in function that parses an XML document for more efficient processing.

xmlrepresentation

A built-in function that determines whether a given image column contains a parsed XML document.