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 Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm<br />

3/5/10<br />

XDOMReplace<br />

Syntax<br />

XDOMReplace(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 />

XDOMReplace finds the xpathString in the context xmlHandle in the DOM structure,<br />

and replaces the found node with nodeHandle.<br />

Parameters<br />

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

Parameter Description<br />

1-972 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><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<br />

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

XDOMReplace Parameters

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

Saved successfully!

Ooh no, something went wrong!