3. System Classes : ButtonField Class : XMLElement Class
 
Share this page                  
XMLElement Class
XMLElement Attributes
Attribute
Data Type
Description
Inherited
From
Attributes
array of XMLAttribute
Represents the attribute list of the XMLElement (RW)
Defined
Children
array of XMLNode
Represents the content of the XML element (R)
Defined
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
ClientInteger
integer
Specifies an arbitrary integer that the user can use (RW)
XMLNode
ClientText
varchar(2000)
Specifies arbitrary text that the user can use (RW)
XMLNode
InstanceIdentifier
integer
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
Name
varchar(256)
Specifies the name of the XML element, which must be a valid XML identifier name (RW)
Defined
ParentElement
XMLElement
Specifies the parent of the XMLNode (RW)
XMLNode
 
XMLElement Methods
Method
Return
Value
Description
Inherited
From
AddAttribute(name = varchar(256),
value = varchar(2000))
integer
Adds an XMLAttribute with the given name and value to the end of the Attributes list
Defined
AddChild(child = XMLNode
[, position = integer])
integer
Adds an XMLNode to the Children list
Defined
AddChildElement(
name = varchar(256)
[, valuestring = StringObject]
[, valuetext = varchar(2000)]
[, attributes = Array of XMLAttribute]
[, position = integer]
[, iscdata = integer]
[, child = byref(XMLNode)])
integer
Creates an XMLElement with the given name and adds it to the Children list
Defined
Duplicate()
Object
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute(
attributename = byref(
variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
GetAttributeValue(
name = varchar(256),
value = byref(varchar_variable))
integer
Sets the value of the XMLAttribute of the given name in the Attributes list
Defined
GetCharacterValue(
string = byref(StringObject))
integer
Sets the concatenated value of all children which are XMLText, XMLCDATA, or XMLPI with target ingres_invalidxmlchar
Defined
GetChildElementCharacterValue(
name = varchar(256),
string = byref(StringObject))
integer
Gets the concatenated value of all children which is XMLText, XMLCDATA, or XMLPI with target ingres_invalidxmlchar for the child element with the given name
Defined
IsA(class = classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
RemoveAttribute(
name = varchar(256))
integer
Removes the XMLAttribute with the given name from the Attributes list
Defined
RemoveChild(
child = XMLNode,
position = integer,
name = varchar(256),
allchildren = integer
[, recursive = integer])
integer
Removes a child or all child nodes from the Children list. See the Language Reference Guide for details about syntax.
Defined
SetAttribute(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetAttributeValue(
name = varchar(256),
value = varchar(2000))
integer
Sets the value of the XMLAttribute with the given name in the Attributes list
Defined