To parse an XML document with xmltest from Sybase WorkSpace, use the Evaluate XML query expression wizard as follows:
Invoke the Evaluate 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. |
Expected value is false | Select this check box to insert "not" into the query between the XPath expression and the XML document expression. |
XML error handling | Select an error-handling option from the menu dropdown. The options are exception, null, and message. The default is exception. |
The SQL for invoking the xmltest command with your specified options is displayed in the Preview field.
Click Finish. The SQL for invoking xmltest appears in SQL Editor.
For information on the xmltest command, see XML Services in Adaptive Server Enterprise.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com