A document has been updated:
http://cocoon.zones.apache.org/daisy/legacydocs/649.html
Document ID: 649
Branch: main
Language: default
Name: cTwIG - Cocoon Two Idiots Guide - Basic XSP/Logicsheet Processing
(unchanged)
Document Type: Document (unchanged)
Updated on: 9/22/05 2:51:00 PM
Updated by: Helma van der Linden
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 5235 bytes (previous version: 5239 bytes)
Content diff:
(29 equal lines skipped)
(<a
href="ctwig/sample/transformations/basic03/basic03-01.xml">basic03-01.xml</a>)
that refers to a logicsheet:</p>
--- <pre>
--- <?xml version="1.0"?>
+++ <pre><?xml version="1.0"?>
<xsp:page
xmlns:xsp="http://apache.org/xsp"
xmlns:ctwig="http://www.pigbite.com/xsl"
(19 equal lines skipped)
<p>The logicsheet looks like this
(<a
href="ctwig/sample/transformations/logicsheet/ctwig.xsl">ctwig.xsl</a>):</p>
--- <pre>
--- <?xml version="1.0"?>
+++ <pre><?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://apache.org/xsp"
(36 equal lines skipped)
knows where to go and find it. This is done by adding the following
construct to
{TOMCAT_HOME}\webapps\cocoon\WEB-INF\cocoon.xconf:</p>
--- <pre>
--- <builtin-logicsheet>
+++ <pre> <builtin-logicsheet>
<parameter name="prefix" value="ctwig"/>
<parameter name="uri" value="http://www.pigbite.com/xsl"/>
<parameter name="href"
value="resource://com/pigbite/logicsheets/ctwig.xsl"/>
(6 equal lines skipped)
<p>You can also use a "file:" protocol in the form:</p>
--- <pre>
--- <parameter
+++ <pre><parameter
name="href"
value="file:///{TOMCAT_HOME}/webapps/cocoon/ctwig/logicsheet/ctwig.xsl"></pre>
(14 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes