Async attributes
For use
The async attribute indicates whether asynchronous download is allowed.
Basic syntax
BoolValue = XMLDocument. async; XMLDocument. async = boolValue;
Description
The Boolean value is writable (read/write). If asynchronous download is permitted, the value is True; otherwise, the value is False.
Example
XmlDoc. async = "false ";
Alert (xmlDoc. async );
Attribute
For use
Returns the attribute list of the current node.
Basic syntax
ObjAttributeList = xmlNode. attributes;
Description
Returns an object. If this node cannot contain attributes, a null value is returned.
Example
ObjAttList = xmlDoc.doc umentElement. attributes;
Alert (objAttList );
ChildNodes attributes
For use
Returns a node list that contains all available subnodes of the node.
Basic syntax
ObjNodeList = node. childNodes;
Description
Returns an object. If this node does not have a subnode, null is returned.
Example
ObjNodeList = xmlDoc. childNodes;
Alert (objNodeList );
Doctype Properties
For use
Returns a file type node that contains the DTD of the current file. This node is a general file type declaration. For example, the Node object named "EMAIL" will be returned.
Basic syntax
Objdoctypew.xmldocument.doc type;
Description
Returns an object. This attribute is read-only. If this file does not contain a DTD, null is returned.
Example
ObjDocType = xmlDoc.doc type;
Alert (objDocType. nodeName );
DocumentElement attributes