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 Parameter Description Return Codes The return code indicating success or failure. The following table describes the value of each return code. 1-978 UniBasic Commands Reference ssLocation A flag to specify whether styleSheet contains style sheet itself, or is just the style sheet file name. Value values are: XML.FROM.FILE (default) XML.FROM.STRING [IN] outHandle Handle to the resulting DOM structure, file, or string. [OUT] outFormat Specifies one of the following values as the output format for the DOM structure: XML.TO.DOM – Transforms the input DOM structure using the style sheet specified by styleSheet, and outputs the resulting document into a DOM structure. XML.TO.FILE – Transforms the input DOM structure using the style sheet specified by styleSheet, and outputs the resulting document into a file. XML.TO.STRING – Transforms the input DOM structure using the style sheet specified by styleSheet, and outputs the resulting document into a string. XDOMTransform Parameters (continued) Return Code Description XML.SUCCESS The function completed successfully. XML.ERROR An error occurrred. XML.INVALID.HANDLE An invalid DOM handle was returned to the function. XDOMTransform Return Codes

C:\Program Files\Adobe\FrameMaker8\UniData XDOMValidate Syntax XDOMValidate(xmlDocument, docLocation,, noNsSchema, noNsSchemaLocation[, NsSchemas]) 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 XDOMValidata validates the DOM document using an external nonamespace schema specified by noNsSchema and, optionally, external namespace schemas specified by NsSchemas. Parameters The following table describes each parameter of the syntax. Parameter Description xmlDocument The name of the XML document. [IN] docLocation A flag to specify whether xmlDocument is the document itself, or the document file name. Valid values are: XML.FROM.FILE (default) XML.FROM.STRING XML.FROM.DOM [IN] XDOMValidate Parameters XDOMValidate 1-979

C:\Program<br />

Files\Adobe\FrameMaker8\UniData<br />

XDOMValidate<br />

Syntax<br />

XDOMValidate(xmlDocument, docLocation,, noNsSchema, noNsSchemaLocation[,<br />

NsSchemas])<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 />

XDOMValidata validates the DOM document using an external nonamespace<br />

schema specified by noNsSchema and, optionally, external namespace schemas<br />

specified by NsSchemas.<br />

Parameters<br />

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

Parameter Description<br />

xmlDocument The name of the XML document. [IN]<br />

docLocation A flag to specify whether xmlDocument is the document itself,<br />

or the document file name. Valid values are:<br />

XML.FROM.FILE (default)<br />

XML.FROM.STRING<br />

XML.FROM.DOM<br />

[IN]<br />

XDOMValidate Parameters<br />

XDOMValidate 1-979

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

Saved successfully!

Ooh no, something went wrong!