made SaxonUtils more reusable