On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote:
> 
> I working with on a simple database query with cocoon 2.  I've done
> this with the older cocoon, but here I'm having a processing problem
> of some sort with the taglib.
> 
> The connection pool is fine, that's working, however something goes
> wrong with the esql.  It just sents the client back the xml without an
> attempt to do the query.  I can even add an xsl and that works too,

> And a sitemap entry as follows:
> 
> <map:pipeline>
>      <map:match pattern="**myfile.xml">
>        <map:generate type="file" src="docs/myfile.xml"/>
                       type="severpages"

You've employed the wrong generator. "file" just reads a file while
"serverpages" transforms the tags to code and executes it.

>        <map:serialize type="xml"/>
>      </map:match>
> </map:pipeline>
> 

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to