cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r697371 - /cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/index.apt
Date Sat, 20 Sep 2008 14:38:09 GMT
Author: reinhard
Date: Sat Sep 20 07:38:08 2008
New Revision: 697371

URL: http://svn.apache.org/viewvc?rev=697371&view=rev
Log:
fix sample code

Modified:
    cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/index.apt

Modified: cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/index.apt?rev=697371&r1=697370&r2=697371&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/index.apt (original)
+++ cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/index.apt Sat Sep 20 07:38:08 2008
@@ -19,8 +19,8 @@
 +------------------------------------------+
 Pipeline pipeline = new NonCachingPipeline();
 pipeline.addComponent(new StringGenerator("<x></x>"));
-pipeline.addComponent(new XSLTTransformer(this.getClass().getResource("test1.xslt")));
-pipeline.addComponent(new XSLTTransformer(this.getClass().getResource("test2.xslt")));
+pipeline.addComponent(new XSLTTransformer(this.getClass().getResource("/test1.xslt")));
+pipeline.addComponent(new XSLTTransformer(this.getClass().getResource("/test2.xslt")));
 pipeline.addComponent(new XMLSerializer());
 
 ByteArrayOutputStream baos = new ByteArrayOutputStream();



Mime
View raw message