Table 1


Properties and methods for the XML document object.

METHOD/PROPERTY DESCRIPTION
Charset Returns the character set supported by the document.
createElement() Takes a type and tagname as parameters and returns a newly created element.
doctype Returns the contents of !DOCTYPE as litsted the XML document.
fileModifiedDate Returns the date the file was previously modified.*
fileSize Returns the XML document's file size.*
fileUpdateDate Returns the date the file was previously updated.*
mimeType Returns a MIME type if specified.*
root Returns the root element for the document. This is used to traverse the rest of the document tree.
URL Sets or returns the path (usually a URL) of the document.
version Returns the supported version of XML as listed in the <?XML?>command.
*Documented but not supported in Internet Explorer 4.0.