You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gergely Imre <gi...@nextra.ro> on 2000/10/03 10:26:47 UTC

ESQL

I wanted to try ESQL, I tried like in the examples, but it doesn't work.
I get nothing but the code in XML. I tried like this:

<?xml version="1.0"?>

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

<xsp:page language="java"
	  xmlns:esql=" http://apache.org/cocoon/SQL/v2"
          xmlns:xsp="http://www.apache.org/1999/XSP/Core">

<page>
  <esql:execute-query>
    ...
  </esql:execute-query>
</page>

</xsp:page>

-- 
GImre 
-> ICQ# 86297366

Re: ESQL

Posted by Gergely Imre <gi...@nextra.ro>.
> if the esql prefix isn't registered in cocoon.properties, you must also
> copy the xml-logicsheet PI from the esql example. that's almost certainly
> what's going on here.

And what do I need to put in the config file to register it?

-- 
GImre 
-> ICQ# 86297366

Re: ESQL

Posted by Donald Ball <ba...@webslingerZ.com>.
On Tue, 3 Oct 2000, Gergely Imre wrote:

> I wanted to try ESQL, I tried like in the examples, but it doesn't work.
> I get nothing but the code in XML. I tried like this:
> 
> <?xml version="1.0"?>
> 
> <?cocoon-process type="xsp"?>
> 
> <xsp:page language="java"
> 	  xmlns:esql=" http://apache.org/cocoon/SQL/v2"
>           xmlns:xsp="http://www.apache.org/1999/XSP/Core">
> 
> <page>
>   <esql:execute-query>
>     ...
>   </esql:execute-query>
> </page>
> 
> </xsp:page>

if the esql prefix isn't registered in cocoon.properties, you must also
copy the xml-logicsheet PI from the esql example. that's almost certainly
what's going on here.

- donald