11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PrepareXML<br />

Syntax<br />

PrepareXML(xml_file,xml_handle)<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 PrepareXML function to prepare the XML document in the UniBASIC<br />

program. This step allocates memory for the XML document, opens the document,<br />

determines the file structure of the document, and returns the file structure.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

xml_file The path to the file where the XML document resides.<br />

xml_handle The return value. The return value is the UniBASIC variable for<br />

xml_handle. Status is one of the following return values:<br />

XML.SUCCESS Success<br />

XML.ERROR Error<br />

PrepareXML Parameters<br />

PrepareXML 1-572

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

Saved successfully!

Ooh no, something went wrong!