fix import of DOMDocument; add sibling traversing methods