Added Dom.getChildIndex() to return the child index of a node within its
parent