cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JEULIN Olivier <olivier.jeu...@xml-ais.com>
Subject RE: Formating !
Date Tue, 12 Jun 2001 08:13:43 GMT
Hi,
WARNING: you are using a deprecated taglib! The correct one is esql, not
sql.
Take a look at your cocoon/samples/sql for a sample.
You will find the available elements in esql.xsd in the same directory.
Olivier

> -----Message d'origine-----
> De : Gustavo Mejia [mailto:gmejia@infotec.com.mx]
> Envoyé : lundi 11 juin 2001 20:29
> À : cocoon-users-info@xml.apache.org; cocoon-users@xml.apache.org
> Objet : Formating !
> Importance : Haute
> 
> 
> > Hi,
> >
> > I am new using cocoon, I am get results using a query, and 
> now I wan format that information, could you
> > tell how can I do that ? I know that I need XSL document, I 
> already try with this, and I did't get it.
> > here my code ..
> >
> > <?xml version="1.0"?>
> > <?cocoon-process type="xsp"?>
> >
> > <xsp:page
> >   language="java"
> >   xmlns:sql="http://www.apache.org/1999/SQL"
> >   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> >   xmlns:request="http://www.apache.org/1999/XSP/Request"
> > >
> >
> >   <page title="SQL Search Results">
> >
> >   <sql:execute-query>
> >         <sql:driver>oracle.jdbc.driver.OracleDriver</sql:driver>
> >         <sql:dburl>jdbc:oracle:thin:@host:1521:CTA</sql:dburl>
> >         <sql:username>mypassword</sql:username>
> >         <sql:password>myuser</sql:password>
> >        <sql:doc-element>empleados</sql:doc-element>
> >        <sql:row-element>registro</sql:row-element>
> >
> >         <sql:query>select * from employee order by empno</sql:query>
> >  </sql:execute-query>
> >   </page>
> > </xsp:page>
> >
> >  Thanks in advance !
> >  Gustavo Mejia
> >  www.Infotec.com.mx
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message