Stop using an internal, JVM implementation-specific TransformerFactory,
since this reduces the portability of the code.