Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

XmlNode (gb.xml)

The Node class is the base type for the entire Document Object Model. It represents a single node in the document tree.

This class is not creatable.

Constants
AttributeNode  
CDATASectionNode   Const CDATASectionNode As Integer = 4
CommentNode  
ElementNode  
TextNode  

Static methods
Deserialize  
Serialize   Static Function Serialize ( Data As String ) As String

Properties
Attributes   Returns a virtual collection of all the attribute nodes of this node.
ChildNodes   A synonym for the Children property.
Children   Returns an array containing all children of this node. If there are no children, returns an empty array.
Element   property Read Element As XmlElement
IsCDATA   property Read IsCDATA As Boolean
IsComment   property Read IsComment As Boolean
IsElement   property Read IsElement As Boolean
IsText   property Read IsText As Boolean
Name   This property returns the name of the node.
Next   Returns node immediately following this node. If there is no such node, this property returns NULL.
NextSibling   property Read NextSibling As XmlNode
OwnerDocument   property Read OwnerDocument As XmlDocument
Parent   Returns the parent of this node. All nodes may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this property returns NULL.
Previous   Returns the node immediately preceding this node. If there is no such node, this property returns NULL.
PreviousSibling   property Read PreviousSibling As XmlNode
TextContent   property TextContent As String
Type   property Read Type As Integer
Value   A synonym for the TextContent property.

Methods
GetUserData   Function GetUserData ( Key As String ) As Variant
NewAttribute   Creates a new attribute node, sets its name and value with the Name and Value arguments, and adds it to the current node.
NewElement   Creates a new element, sets its name and value with the Name and Value arguments, and adds it to the current node.
SetUserData   Associate an object to a key on this node. The object can later be retrieved from this node by calling GetUserData with the same key.
ToString   Function ToString ( [ Indent As Boolean ] ) As String