document.hpp: support document::children() returning all children in the document