cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Neuberger <nneuber...@cybersource.com>
Subject RE: Can you Format Database Records???
Date Thu, 19 Oct 2000 14:27:48 GMT
My bad.  I added your suggestion and it worked like a charm.

I would like to contribute this code example if possible to the release.  It
seems as if about 30% of the postings have something to do with formatting
data that comes from a database.  Adding this to a future release could
eliminate some of these postings.

Any suggestions???  I'll check it in and everything.

If this is the wrong list for making this suggestion, please let me know.

Thanks,

Nick



-----Original Message-----
From: magnus.egnerfors@home.se [mailto:magnus.egnerfors@home.se]
Sent: Thursday, October 19, 2000 4:23 AM
To: 'cocoon-users@xml.apache.org'
Subject: Re: Can you Format Database Records???



[snippping all but the practical, where I might answer]

> 
> What am I doing wrong???

Did you check the source of the empty page generated???
When I run the same test it it seems that you are missing the 

<?cocoon-process type="xslt"?>

instruction in your xml file so that the xsl processing is never
called. So the output isn't HTML but it is shown if you look in the source
of the page.

Hope that this helps

/Magnus


> Here is some of the code:
> 
> ////////////////////////////////////////////////////////////////
> esql.xml
> 
> <?xml version="1.0"?>
> 
> 
> <?cocoon-process type="xsp"?>
> 
> <?xml-logicsheet
> href="resource://org/apache/cocoon/processor/xsp/library/sql/esql.xsl"?>

insert PI here.

> <?xml-stylesheet href="esql.xsl" type="text/xsl"?>
> 
> <xsp:page
>   language="java"
>   xmlns:esql="http://apache.org/cocoon/SQL/v2"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> >
> 
> <page>


[ snip of code ]


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message