extract node iterators; separate merging of nodes with text

Signed-off-by: Florian Thienel <florian@thienel.org>
3 files changed