Node vs. Element
What's the difference in between the IXMLDOMElement and IXMLDOMNode in the MSXML x.0 parser?
Just look at the inheritance hierarchy. An XML "node" is the basic data structure from which DOM builds its tree. A node can be an attribute, an element, or probably other things like a comment (don't recall exactly how DOM works).
Oh yeah, that reconciles it. You mean the IXMLDOMNode is the base interface and all the elements that are nodes are one of the types - either an element or a processing instruction or a comment or a CDATA section or a DOCTYPE etc. and hence the nodeType property. Thanks, I got it.
Sorry, apparently MSDN doesn't provide a graphical inheritance hierarchy.
Fog Creek Home