Progress
Language Reference


X-noderef Object Handle

Interfaces
OS
SpeedScript
All
All
Yes

A handle to a reference to an XML node. The x-noderef object is a 4GL object that is a reference to any arbitrary node in an XML tree except a document node.

SYNTAX

x-noderef-handle [ :attribute | :method ] 

x-noderef-handle

A handle variable which can be used as a parameter or return-value for attributes and methods which will be used to provide access to the underlying XML node.

attribute

An attribute of the XML node. The attributes are listed in the table that follows:

Attribute
Type
Readable
Setable
CHARACTER
INTEGER
CHARACTER
CHARACTER
CHARACTER
CHARACTER
CHARACTER
INTEGER
HANDLE
CHARACTER
CHARACTER
INTEGER

method

A method of the XML document handle. The methods are listed in the table that follows:

Method
Return Type
Description
LOGICAL
Appends a node as the last child node of the current node. Connects the node into the document structure after it has been created or cloned.
LOGICAL
Clones an XML node.
LOGICAL
Unlinks and deletes an XML node and its sub-tree from the current document.
LOGICAL
Returns the value of the specified attribute of the node.
LOGICAL
Returns the XML ATTRIBUTE node with the specified name.
LOGICAL
Retrieves a specific child node of this node.
LOGICAL
Retrieves the parent node of this node.
LOGICAL
Inserts a node as a child of the this node before another node.
LOGICAL
Normalizes TEXT and ATTRIBUTE nodes in the full depth of the sub-tree under this node.
LOGICAL
Removes the specified attribute of an element.
LOGICAL
Unlinks the node and its sub-tree from this node.
LOGICAL
For this node, replaces an old node with a new node.
LOGICAL
Adds a new attribute to an element or replaces its current value.
LOGICAL
Associates an ATTRIBUTE node with the referenced X-noderef Object Handle.


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