UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm 3/5/10 XMLError Syntax XMLError(errmsg) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description Use the XMLError function to get the last error message. Errmsg is the error message string, or one of the following return values: 1-1000 UniBasic Commands Reference XML.SUCCESS Success XML.ERROR Failure

C:\Program Files\Adobe\FrameMaker8\UniData XMLExecute Syntax XMLExecute(cmd, options, xmlvar, xsdvar) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description The XMLExecute function enables you to create an XML document using the UniQuery LIST statement or the UniData SQL SELECT statement from a UniBasic program. Parameters The following table describes each parameter of the syntax. Parameter Description cmd Holds the text string of the UniQuery LIST statement or the UniData SQL SELECT statement. [IN] options Each XML-related option is separated by a field mark (@FM). If the option requires a value, the values are contained in the same field, separated by value marks (@VM). WITHDTD Creates a DTD and binds it with the XML document. By default, UniData creates an XML schema. However, if you include WITHDTD in your UniQuery or UniData SQL statement, UniData does not create an XML schema, but only produces the DTD. ELEMENTS The XML output is in element-centric format. XMLExecute Parameters XMLExecute 1-1001

C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm<br />

3/5/10<br />

XMLError<br />

Syntax<br />

XMLError(errmsg)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

Use the XMLError function to get the last error message.<br />

Errmsg is the error message string, or one of the following return values:<br />

1-1000 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

XML.SUCCESS Success<br />

XML.ERROR Failure

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!