From f56c315df5921953702f6ab9c2a331ff7c0caa0f Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 16 Jan 2006 17:55:33 +0000 Subject: [PATCH] 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 --- src/documentation/content/xdocs/0.91/servlets.xml | 2 +- src/documentation/content/xdocs/trunk/servlets.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")); -- 2.39.5