private static InputStream transform ( final InputStream origin , final URIResolver resolver ) throws IOException { try { final TransformerFactory factory = TransformerFactory . newInstance ( ) ; factory . setURIResolver ( resolver ) ; return RsXslt . transform ( factory , origin ) ; } catch ( final TransformerException ex ) { throw new IOException ( ex ) ; } }
Build body .