]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed a small mistake on the servlet page.
authorJeremias Maerki <jeremias@apache.org>
Mon, 16 Jan 2006 17:55:33 +0000 (17:55 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 16 Jan 2006 17:55:33 +0000 (17:55 +0000)
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
src/documentation/content/xdocs/trunk/servlets.xml

index 7a3f6493f153d35e46b754e7ac2ba34972782e87..16e7da3161e5517b8afa8ed739fbbc07fbe62033 100644 (file)
@@ -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"));
index 7a3f6493f153d35e46b754e7ac2ba34972782e87..16e7da3161e5517b8afa8ed739fbbc07fbe62033 100644 (file)
@@ -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"));