cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <>
Subject RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer
Date Thu, 03 Apr 2003 06:39:57 GMT
On 1 Apr 2003, Bruno Dumon wrote:

> I've tried out your sample, and had the same problem. After putting in a
> logtransformer, I noticed that the endDocument SAX event was called
> twice.
> I've updated CVS to correct this behaviour.


I'm making a little bit of progress, but I'm still having problems getting
the XSL to go through successfully.  The crashes and exceptions have
stopped, but now I'm still experiencing some strangeness with XSL.  Here's
my sitemap:

<map:match pattern="wx/mn.xml">
    <map:generate type="html" src=";city=Minneapolis">
        <map:parameter name="xpath" value="/html/body/table[4]/tr[4]/td[2]/table[1]/tr[2]/td[1]/table[1]/tr[1]/td[2]/table[1]"/>

    <map:transform type="log">
        <map:parameter name="logfile" value="out.log"/>

    <map:transform src="stylesheets/zone.xsl"/>
    <map:serialize type="xml"/>

And here's the XSL I'm using (pretty basic):

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
<xsl:template match="/table">
        <width><xsl:value-of select="@width"/></width>

Can you confirm this is not working correctly?  Unfortunately I'm not too
adept at interpreting the LogTransformer's output, so I'll need to enlist
your help for that.  This isn't a matter of stupid XSL, or some other
boneheaded oversight on my part, is it?

Thanks again,


Tony Collen
ICQ: 12410567 IRC:
Cocoon: Internet Glue (A Cocoon Weblog)

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

View raw message