cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <>
Subject RE: Problems with SQLTransformer
Date Fri, 09 Aug 2002 15:39:41 GMT
> 081778namepassdprogname

This looks like the "default" template for elements which just copies their
value.  As an experiment, try this: 

<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet version="1.0"

<xsl:template match="rowset">

<xsl:template match="row">
         <ID><xsl:value-of select="id"/></ID>
         <role><xsl:value-of select="role"/></role>
                   <xsl:copy-of select="nom"/>
                   <xsl:copy-of select="programa"/>
                   <xsl:copy-of select="instruccions"/>


> > 2) When in e) you say modifications have no effect do you 
> mean that if
> > you literally re-arrange or remove items from the final output those
> > changes are not reflected?
> I mean that if instead of the above code I put the following 
> for usuaris.xsl:


> <?xml version="1.0" encoding="iso-8859-1"?>
> <xsl:stylesheet version="1.0"
>         xmlns:xsl="">
> <xsl:template match="rowset">
>    hello
> </xsl:template>
> </xsl:stylesheet>
> The output is exactly the same!

Well, if you can't get "hello" to show up in that last example, then it
looks more like you've got some kind of caching issue going on.  The sql
transformer should keep any caching from happening, but maybe there's a
problem.  I'd recommend first making absolutely sure that your browser is
not caching these results, then make sure cocoon is not caching them.
Either change to a non-caching pipeline, or shut cocoon down, find the work
directory and delete everything from it, and the restart cocoon and try


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