To parse an XML document with xmlextract from Sybase WorkSpace, use the Apply XML query expression wizard as follows:
Invoke the Apply XML query expression wizard. See Parsing an XML Document for instructions.
Modify the following fields.
XML query options
Field | Example |
---|---|
XML Document | Select one of the following:
|
XPath expression | Enter an XPath expression in the text field. |
XML error handling | Select an error-handling option from the menu dropdown. The options are exception, null, and message. The default is exception. |
Return type | Enter a return type in the text field, or choose a return type from the menu dropdown. |
The SQL for invoking the xmlextract command with your specified options is displayed in the Preview field.
Click Finish. The SQL for invoking xmlextract appears in SQL Editor.
For information on the xmlextract command, see XML Services in Adaptive Server Enterprise.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com