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>
--- &lt;?xml version="1.0"?&gt;
+++ <pre>&lt;?xml version="1.0"?&gt;
    &lt;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>
--- &lt;?xml version="1.0"?&gt;
+++ <pre>&lt;?xml version="1.0"?&gt;
    &lt;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>
---   &lt;builtin-logicsheet&gt;
+++ <pre>  &lt;builtin-logicsheet&gt;
        &lt;parameter name="prefix" value="ctwig"/&gt;
        &lt;parameter name="uri" value="http://www.pigbite.com/xsl"/&gt;
        &lt;parameter name="href" 
value="resource://com/pigbite/logicsheets/ctwig.xsl"/&gt;
(6 equal lines skipped)
    
    <p>You can also use a "file:" protocol in the form:</p>
    
--- <pre>
--- &lt;parameter
+++ <pre>&lt;parameter
       name="href"
       
value="file:///{TOMCAT_HOME}/webapps/cocoon/ctwig/logicsheet/ctwig.xsl"&gt;</pre>
    
(14 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Reply via email to