Progress
Language Reference


X-document Object Handle

Interfaces
OS
SpeedScript
All
All
Yes

A handle to an XML document.

SYNTAX

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

x-document-handle

A handle variable that references an XML document object created by the CREATE X-DOCUMENT statement.

attribute

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

Attribute
Type
Readable
Setable
CHARACTER
CHARACTER
INTEGER
CHARACTER
CHARACTER
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
Create an XML node in the current document.
LOGICAL
Creates a namespace-aware XML node in the current document, whose name can be an x:y combination rather than a single string.
LOGICAL
Retrieves a specific child node of the current node.
LOGICAL
Retrieves the root node of the specified XML document.
LOGICAL
Imports a copy of a node from another document into the current document.
LOGICAL
Generates a new XML document that references an external DTD and creates its root node.
LOGICAL
Inserts a node as a child of the current document before another node.
LOGICAL
Loads an XML document into memory, parses it, and makes its contents available to the 4GL.
LOGICAL
Unlink the node and its sub-tree from the XML document.
LOGICAL
Replace an old node with a new node.
LOGICAL
Saves or sends an XML document.


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