The XML DOM Objects

Here are the official W3C DOM Level 1 objects:

  • Document— The document object.

  • DocumentFragment— A fragment of a document.

  • DocumentType— Reference to the <!DOCTYPE> element.

  • EntityReference— Reference to an entity.

  • Element— An element.

  • Attr— An attribute.

  • ProcessingInstruction— A processing instruction.

  • Comment— The content of an XML comment.

  • Text— Text content of an element or attribute.

  • CDATASection— Refers to CDATA section

  • Entity— Stands for a parsed or unparsed entity in the XML document.

  • Notation— Holds a notation.

  • Node— A single node in the document tree.

  • NodeList— A list of node objects. Allows iteration and indexed access operations.

  • NamedNodeMap— Allows iteration and access by name to the collection of attributes.

Microsoft uses ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.