cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "raffy" <>
Subject XSp and SQL
Date Sun, 27 Aug 2000 17:22:06 GMT

i am very new in using Cocoon and by testing the examples i get the following problem:

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<xsp:page language="java" xmlns:sql="" xmlns:xsp="">
  <page title="SQL Search Results">
      <sql:query>select nachname from telefonliste where nachname like 'R%'</sql:query>

i expected to get some data, but the only thing i get is the following:

<page title="SQL Search Results">
    <DOC count="25"><ROW id="0"><nachname
null="YES"></nachname></ROW><ROW id="1"><nachname
null="YES"></nachname></ROW><ROW id="2"><nachname
null="YES"></nachname></ROW><ROW id="3"><nachname
null="YES"></nachname></ROW><ROW id="22"><nachname
null="YES"></nachname></ROW><ROW id="23"><nachname
null="YES"></nachname></ROW><ROW id="24"><nachname null="YES"></nachname></ROW></DOC>

<!-- This page was served in 1573 milliseconds by Cocoon 1.7.4 -->

The number of rows is correct, but where is the content of the fields?

- Raffy

View raw message