transformer.setURIResolver(getURIResolver());
		public void write(OutputStream outputStream) throws IOException {			// Prepare the XSLT transformer documents			StreamSource sourceDocument = new StreamSource(					getSourceRepresentation().getStream());			StreamSource transformSheet = new StreamSource(getTransformer()					.getTransformSheet().getStream());			StreamResult resultDocument = new StreamResult(outputStream);			try {				// Create a new transformer as they are not thread safe				javax.xml.transform.Transformer transformer = TransformerFactory						.newInstance().newTransformer(transformSheet);				// Generates the result of the transformation				transformer.transform(sourceDocument, resultDocument);			} catch (TransformerConfigurationException tce) {				getTransformer().getContext().getLogger().log(Level.WARNING,						"Transformer configuration exception", tce);			} catch (TransformerFactoryConfigurationError tfce) {				getTransformer().getContext().getLogger().log(Level.WARNING,						"Transformer factory configuration exception", tfce);			} catch (TransformerException te) {				getTransformer().getContext().getLogger().log(Level.WARNING,						"Transformer exception", te);			}		}