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.

C:\Program<br />

Files\Adobe\FrameMaker8\UniData<br />

Parameter Description<br />

nsMap The map of namespaces which resolve the prefixes in the<br />

xpathString.<br />

Format is “xmlns=default_url xmlns:prefix1=prefix1_url<br />

xmlns:prefix2=prefix2_url”<br />

For example:<br />

“xmlns=http://myproject.mycompany.com<br />

xmlns:a_prefix=a.mycompany.com” [IN]<br />

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

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

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

nodeHandle Handle to a DOM subtree. If nodeHandle points to a DOM document,<br />

the found node is replaced by all of nodeHandle children, which are<br />

inserted in the same order. [IN]<br />

dupFlag XDOM.DUP: Clones nodeHandle, and replaces it with the duplicate<br />

node.<br />

XDOM.NODUP: Replaces with the original node. The subtree is also<br />

removed from its original location. [IN]<br />

Return Codes<br />

XDOMReplace Parameters (continued)<br />

The return code indicating success or failure. The following table describes the value<br />

of each return code.<br />

Return Code Description<br />

XML.SUCCESS The function completed successfully.<br />

XML.ERROR An error occurrred.<br />

XML.INVALID.HANDLE An invalid DOM handle was returned to the function.<br />

XDOMReplace Return Codes<br />

XDOMReplace 1-973

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

Saved successfully!

Ooh no, something went wrong!