   
DOM object properties
These are some of the properties we think would be useful
in the context of this book. The descriptions below are limited to our needs
and, while being detailed they may not fully describe the capabilities of each
object. More complete descriptions can be read from the documentation or on the
Microsoft website.
The listing below is a list of all the properties for all
of the XMLDom objects. Use this chart when you need to find a property in one of
the interfaces that could be useful for something that you are trying
accomplish. The properties that are bolded in table are the ones that we
will explain. As mentioned before, they have been selected because they are
properties and methods we think would be useful in the context of this
book.
0.0.1 DOMDocument properties (continued)
|
Properties
|
DOMDocument
|
XMLDOMNode
|
XMLDOMNodeList
|
XMLDOMNamedNodeMap
|
XMLDOMAttribute
|
XMLDOMCDATASection
|
XMLDOMComment
|
XMLDOMDocumentFragment
|
XMLDOMDocumentType
|
XMLDOMElement
|
XMLDOMEntity
|
XMLDOMEntityReference
|
XMLDOMImplementation
|
XMLDOMNotation
|
XMLDOMParseError
|
XMLDOMProcessingInstruction
|
XMLDOMText
|
XTLRuntime
|
XMLHTTPRequest
|
async
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
attributes
|
|
*
|
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
baseName |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
childNodes |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
data |
|
|
|
|
|
* |
* |
|
|
|
|
|
|
|
|
* |
* |
|
|
|
dataType |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
definition |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
doctype |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
document- Element |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
entities |
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
errorCode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
filepos |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
firstChild |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
implementation |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item |
|
|
* |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lastChild |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
length |
|
|
* |
* |
|
* |
* |
|
|
|
|
|
|
|
|
|
* |
|
|
|
line |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
name |
|
|
|
|
* |
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
namespace-URI |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
nextSibling |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
nodeName |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
nodeType |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
nodeTypedValue |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
nodeType-String |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
nodeValue |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
notations |
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
notationName |
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
ondata- available |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onreadystatechange |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
ontransform-node |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
owner- Document |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
parentNode |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
parsed |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
parseError |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prefix |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
|
* |
|
* |
|
|
* |
* |
|
|
preserve
WhiteSpace |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
previous- Sibling |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
publicId |
|
|
|
|
|
|
|
|
|
|
* |
|
|
* |
|
|
|
|
|
|
readyState |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
reason |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
resolve-
Externals |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
responseBody |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
response-Stream |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
responseText |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
responseXML |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
specified |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
srcText |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
statusText |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
systemId |
|
|
|
|
|
|
|
|
|
|
* |
|
|
* |
|
|
|
|
|
|
tagName |
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
target |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
text |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
|
url |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
validateOnParse |
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
value |
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
xml |
* |
* |
|
|
* |
* |
* |
* |
* |
* |
* |
* |
|
* |
|
* |
* |
* |
|
We will use the People2.xml file example for the rest of
this chapter. This file's source is:
<?xml version="1.0"?>
<!-- *********** Resumes for People ***********
-->
<!DOCTYPE PEOPLE SYSTEM
"http://localhost/xmlcode/people.dtd">
<PEOPLE> <PERSON
PERSONID="p1"> <NAME>Mark Wilson</NAME>
<ADDRESS>911 Somewhere Circle, Canberra,
Australia</ADDRESS>
<TEL>(++612) 12345</TEL>
<FAX>(++612) 12345</FAX>
<EMAIL>markwilson@somewhere.com</EMAIL>
</PERSON>
<PERSON PERSONID="p2">
<NAME>Tracey Wilson</NAME>
<ADDRESS>121 Zootle Road, Cape Town, South
Africa</ADDRESS>
<TEL>(++2721) 531 9090</TEL>
<FAX>(++2721) 531 9090</FAX>
<EMAIL>Tracey
Wilson@somewhere.com</EMAIL>
</PERSON>
<PERSON PERSONID="p3">
<NAME>Jodie Foster</NAME>
<ADDRESS>30 Animal Road, New York,
USA</ADDRESS>
<TEL>(++1) 3000 12345</TEL>
<FAX>(++1) 3000 12345</FAX>
<EMAIL>Jodie
Foster@somewhere.com</EMAIL>
</PERSON>
<PERSON PERSONID="p4">
<NAME>Lorrin Maughan</NAME>
<ADDRESS>1143 Winners Lane, London,
&UK;</ADDRESS>
<TEL>(++94) 17 12345</TEL>
<FAX>++94) 17 12345</FAX>
<EMAIL>Lorrin
Maughan@somewhere.com</EMAIL>
</PERSON>
<PERSON PERSONID="p5">
<NAME>Steve Rachel</NAME>
<ADDRESS>90210 Beverly Hills, California,
&USA;</ADDRESS>
<TEL>(++1) 2000 12345</TEL>
<FAX>(++1) 2000 12345</FAX>
<EMAIL>Steve
Rachel@somewhere.com</EMAIL>
</PERSON>
</PEOPLE>
   
This manuscript is an abridged version of a chapter from
the Manning
Publications book XML Programming with VB and ASP. This chapter looks at the
Microsoft DOM objects. NOTE: Most images have been removed to increase speed and
many of the code comments have also been removed for presentation. Please
purchase the book to enjoy the full experience of all the chapters with images
and code comments!
|