cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Koechlin <>
Subject Re: Strange
Date Mon, 26 Mar 2001 16:35:31 GMT
Sandeep N Kundu wrote:
> the attachments are as attached

It's not stange, you have many errors in your files:here are diff -u:


It's not <?xml:stylesheet ...
but <?xml-stylesheet ...

You should read the FAQ about xml:stylesheet


You have to use :
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"

 <xsl:template match="/"> 
   <body style="font-family:geneva,arial,helvetica, sans-serif;
font-size:12px; font-weight:normalcomic   <xsl:apply-templates/>  

Your namespace declaration was wrong, and you have to tell cocoon
which formatter to use.

It's not <xsl:if match=".[@name='Februar']">
but <xsl:if test="@name='Februar'">

This is not allowed: <xsl:value-of/>
but I think you want <xsl:value-of select="."/>,
look at <xsl:copy>

You should think about making more template instead
of <xsl:for-each> nad <xsl:if>, your stylesheet will be easier
to read.

S├ębastien Koechlin - IVision -

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