cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Benda" <>
Subject Cocoon 1.8.2 -> 2
Date Thu, 26 Jul 2001 11:33:41 GMT
I currently (trying to) develop under Cocoon 1.8.2. I developped a little
XML "portal" which works very fine. In Cocoon 1.8.2 i have my resource
files under %TOMCAT_HOME%/webapps/cocoon/portal.
Now I have installed cocoon 2 onto my system and I also copied my files
to %TOMCAT_HOME%/webapps/cocoon/portal. But now I can't access
the files. I walked thru the examples delivered with cocoon and I found two
(for me) strange things:

1.) In sitemap.xconf: Do I have to add a <map:match pattern ../> for each
xml resource
I wan't to access?

2.) How about logicsheets? In the examples I saw that there is no link to
stylesheets or
logicsheets inside the xml documents. I found that there is for each xml
a <map:match pattern ../> and there is a link to the stylesheet. But what
about logicsheets?
In my example

I have a xml document like this ...

<?xml version="1.0" encoding="UTF-8"?>
<?cocoon-process type="xsp"?>
<?xml-logicsheet href="index-xsp.xsl"?>

... a logicsheet ...

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"

<xsl:template match="page">

... and finally a stylesheet to convert xml to html. Each file has an
reference to
the next one (xml -> index-xsp.xsl -> index_html.xsl -> html)

How do I handle this in cocoon2?


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message