From: Jeremias Maerki Date: Mon, 16 Jan 2006 17:55:33 +0000 (+0000) Subject: Fixed a small mistake on the servlet page. X-Git-Tag: fop-0_92-beta~201 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f56c315df5921953702f6ab9c2a331ff7c0caa0f;p=xmlgraphics-fop.git Fixed a small mistake on the servlet page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369534 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/0.91/servlets.xml b/src/documentation/content/xdocs/0.91/servlets.xml index 7a3f6493f..16e7da316 100644 --- a/src/documentation/content/xdocs/0.91/servlets.xml +++ b/src/documentation/content/xdocs/0.91/servlets.xml @@ -107,7 +107,7 @@ public void init() throws ServletException { Transformer transformer = this.transformerFactory.newTransformer(xsltSrc); //Make sure the XSL transformation's result is piped through to FOP - Result res = new SAXResult(driver.getDefaultHandler()); + Result res = new SAXResult(fop.getDefaultHandler()); //Setup input Source src = new StreamSource(new File("foo.xml")); diff --git a/src/documentation/content/xdocs/trunk/servlets.xml b/src/documentation/content/xdocs/trunk/servlets.xml index 7a3f6493f..16e7da316 100644 --- a/src/documentation/content/xdocs/trunk/servlets.xml +++ b/src/documentation/content/xdocs/trunk/servlets.xml @@ -107,7 +107,7 @@ public void init() throws ServletException { Transformer transformer = this.transformerFactory.newTransformer(xsltSrc); //Make sure the XSL transformation's result is piped through to FOP - Result res = new SAXResult(driver.getDefaultHandler()); + Result res = new SAXResult(fop.getDefaultHandler()); //Setup input Source src = new StreamSource(new File("foo.xml"));