I need a way to interfere in writting xsl result documents to avoid writting them to file system. Right now my template is writting to a temporary directory, and then i zip
You can use new StreamResult(ByteArrayOutputStream()) to catch xslt output, if you don't want to write to files, and then you can save memory data from byte array to zip file using this approach In Java: How to zip file from byte[] array?