SoFunction
Updated on 2025-04-08

XMLDOM object method: object properties

async attribute
Use
The async attribute indicates whether asynchronous downloads are allowed.
Basic syntax
  boolValue = ; = boolValue;

illustrate
The Boolean value is ergonomic (read/write), and if asynchronous download is allowed, the value is True; otherwise it is False.

Example
  = "false";
alert();

attribute attribute
Use
Return to the attribute list of the current node.
Basic syntax
  objAttributeList = ;

illustrate
Transfer an object back. If this node cannot contain attributes, a null value is passed back.

Example
 objAttList = ;
alert(objAttList);

childNodes attribute
Use
Pass back a node list, containing all available child nodes for that node.
Basic syntax
  objNodeList=;

illustrate
Transfer an object back. If this node has no child nodes, pass null back.

Example
 objNodeList = ;
alert(objNodeList);

doctype attribute
Use
Pass back to the file-type node, including the DTD of the current file. This node is a general file type declaration. For example, a node, a node object named EMAIL will be transmitted back.
Basic syntax
  objDocType=;

illustrate
Pass back an object, this property is read-only. If this file does not contain DTD, null will be sent back.

Example
 objDocType = ;
alert();

documentElement attribute