Download IBM Informix XML User's Guide

Transcript
 idsxmlparse (
xml_document
)
Parameters
xml_document
The XML document or fragment to parse to determine whether it is well
formed.
Example 1
SELECT idsxmlparse(
’<purchaseOrder poNo="124356">
<customerName>ABC Enterprises</customerName>
<itemNo>F123456</itemNo>
</purchaseOrder>’)
AS PO FROM systables where tabid = 1;
<purchaseOrder poNo="124356">
<customerName>ABC Enterprises</customerName>
<itemNo>F123456</itemNo>
</purchaseOrder>
1-12
IBM Informix XML User's Guide