cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From magnus.egnerf...@home.se
Subject Re: Can you Format Database Records???
Date Thu, 19 Oct 2000 09:22:50 GMT

[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 ]


Mime
View raw message