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 Return Codes The return code indicating success or failure. The following table describes the value of each return code. 1-930 UniBasic Commands Reference 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. XDOMAddChild Return Codes

C:\Program Files\Adobe\FrameMaker8\UniData XDOMAppend Syntax XDOMAppend(xmlHandle, xpathString, nsMap, nodeHandle, dupFlag) 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 Finds the xpathString in the context xmlHandle in the DOM structure, and inserts nodeHandle into the DOM structure as next sibling of the found node. If the inserted node type is XDOM.ATTR.NODE, this node is inserted as an attribute. Parameters The following table describes each parameter of the syntax. Parameter Description xmlHandle The handle to the context. [IN] xpathString Relative or absolute XPath string. [IN] The xpathString parameter uses the in-encoding parameter set in the system-level or account-level xmlconfig file, the XMLSETOPTIONS command, or the XMLSetOptions() API. XDOMAppend Parameters XDOMAppend 1-931

C:\Program<br />

Files\Adobe\FrameMaker8\UniData<br />

XDOMAppend<br />

Syntax<br />

XDOMAppend(xmlHandle, xpathString, nsMap, nodeHandle, dupFlag)<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 />

Finds the xpathString in the context xmlHandle in the DOM structure, and inserts<br />

nodeHandle into the DOM structure as next sibling of the found node. If the inserted<br />

node type is XDOM.ATTR.NODE, this node is inserted as an attribute.<br />

Parameters<br />

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

Parameter Description<br />

xmlHandle The handle to the context. [IN]<br />

xpathString Relative or absolute XPath string. [IN]<br />

The xpathString parameter uses the in-encoding parameter set in the<br />

system-level or account-level xmlconfig file, the XMLSETOPTIONS<br />

command, or the XMLSetOptions() API.<br />

XDOMAppend Parameters<br />

XDOMAppend 1-931

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

Saved successfully!

Ooh no, something went wrong!