You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/16 19:11:58 UTC
[Cocoon Wiki] Updated: FlowAndXsltHelloWorld
Date: 2004-07-16T10:11:57
Editor: JasonStitt <ja...@pengale.com>
Wiki: Cocoon Wiki
Page: FlowAndXsltHelloWorld
URL: http://wiki.apache.org/cocoon/FlowAndXsltHelloWorld
no comment
Change Log:
------------------------------------------------------------------------------
@@ -21,7 +21,7 @@
=== Setting up ===
-This project has almost the same structure as the FlowHelloWorld example. Make a directory called, for example, {{{hello-xslt}}} in your Cocoon directory. In {{{hello-xslt}}}, make the directories {{{flow}}}, {{{documents}}} and {{{transform}}}.
+This project has almost the same structure as the FlowHelloWorld example. Make a directory called, for example, {{{hello-xslt}}} in your Cocoon directory. In {{{hello-xslt}}}, make the directories {{{flow}}}, {{{documents}}} and {{{stylesheets}}}.
==== The Sitemap ====
@@ -79,7 +79,7 @@
that the flowscript can serve it, but people can't happen upon it. -->
<map:match pattern="internal/hello">
<map:generate type="jxt" src="documents/hello.jxt"/>
- <map:transform type="xslt" src="transform/hello.xsl"/>
+ <map:transform type="xslt" src="stylesheets/hello.xsl"/>
<map:serialize type="xhtml"/>
</map:match>
@@ -121,7 +121,7 @@
==== The XSLT ====
-Finally, the xslt stylesheet should be saved as {{{hello-xlst/transform/hello.xsl}}}. It looks like this:
+Finally, the xslt stylesheet should be saved as {{{hello-xlst/stylesheets/hello.xsl}}}. It looks like this:
{{{
<?xml version="1.0" encoding="UTF-8"?>