How to build a DOM tree ?
=========================

1. get a factory

  DOMBuilderFactory *factory
    = [DOMBuilderFactory standardDOMBuilderFactory];

2. get a builder for your resource type

  id<DOMBuilder> builder
    = [factory createDOMBuilderForMimeType:@"text/xml"];

3. parse what you have:

  id<DOMDocument> document
    = [builder buildFromSource:@"myfile.xml"];

Some info on classes ...
========================

Nodes with children

  Document
  DocumentFragment
  EntityReference
  Element
  Attr
  Entity

Nodes without children

  DocumentType
  ProcessingInstruction
  Comment
  Text
  CDATASection
  Notation

Nodes with parent

  DocumentType
  EntityReference
  Element
  ProcessingInstruction
  Comment
  Text
  CDATASection

Nodes without parent

  Document
  DocumentFragment
  Attr
  Entity
  Notation