Switched read-directory nodeSet generation to a xerces DOM document
* replacement for manual XML construction
* currently leaks memory as the objects have to exist out of scope and I have not yet thought of how to best manage their lifetime