Progress
Language Reference


CREATE X-NODEREF Statement

Interfaces
OS
SpeedScript
All
All
Yes

Creates a handle which can be used as a parameter or return-value for methods which will associate the handle with an XML node. This object is not a node in its own right, but merely a way to provide access to the underlying XML node.

SYNTAX

CREATE X-NODEREF handle 

handle

A valid X-NODEREF handle to use for the new XML node.

EXAMPLE

The following code fragment depicts creating an XML document node reference and using it to create a node:

DEFINE VARIABLE hXdoc AS HANDLE.
. . .
CREATE X-DOCUMENT hXdoc.
CREATE X-NODEREF hXnode.
hXdoc:CREATE-NODE(hXnode,"City","ELEMENT").
. . . 

SEE ALSO

CREATE X-DOCUMENT Statement, DELETE OBJECT Statement, X-document Object Handle, X-noderef Object Handle


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095