XMLTools: construct a single TransformerFactory for writeXML calls