Fixed usage of maven properties.
Improved performance of DOM traversing (see #330).
Avoided iteration of all children of a node if no changes to the children array have been done during the processing of previous children.