Example: Using XMLPARSE With the CONTENT and STRIP WHITESPACE Clauses - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantage™ XML Data Type

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1140-162K
SELECT XMLPARSE(CONTENT
   '<Customer/>'
   STRIP WHITESPACE);

The result of the query is:

XMLPARSE( CONTENT '<Customer/>' STRIP WHITESPACE )
--------------------------------------------------
<Customer></Customer>