cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Painter-Wakefield <>
Subject Re: reusing a result set with esql
Date Wed, 18 Feb 2004 21:17:59 GMT


I'm not familiar with RDF, and I can't say I have a clear picture of what
you are trying to do, but I think you might be able to do everything you
need in XSLT, after the XSP stage.  I do a lot of cross-referencing between
lists, etc., in an XSLT transform step after generating the raw data from
the database.  If you want to generate two different bits of output from a
single database result, that is even easier.  XSLT is very powerful for
this type of thing.

Good luck!


|         |           Adrian Petru     |
|         |           Dimulescu        |
|         |           <adrian.dimulescu|
|         | >        |
|         |                            |
|         |           02/18/2004 04:07 |
|         |           PM               |
|         |           Please respond to|
|         |           users            |
|         |                            |
  |       To:                                              
  |       cc:       Christopher Painter-Wakefield <>           
  |       Subject:  Re: reusing a result set with esql                                   

On Wednesday 18 February 2004 20:58, Christopher Painter-Wakefield wrote:
> Could you be more specific on what it is you are trying to do?  Perhaps
> can see a way to do it in one iteration.

Well, I'm experimenting with XUL as frontend and Cocoon as backend. Mozilla

XUL trees like RDF so I use Cocoon on the backend to generate it. When I
to generate the RDF/XML for a list of Partners, the RDF contains :

* as many <RDF:description ... > as there are rows (Partners) in the
* then an <RDF:Seq> in order to predicate the fact that those entities are
part of a list. Every item of the <RDF:Seq> is a _reference_ to the defined


Now that you mentioned it I realize that it is possible to not use
but textually include the entities <RDF:description> in the <RDF:Seq>. In
case that would work and I will use it tomorrow :) But if one wants to
describe in the same RDF/XML several different lists or graphs of the same
entities, using references becomes unavoidable. So iterating through the
ResultSet several times also becomes necessary, I think.

> If you are comfortable with logicsheets, then you might consider
> the esql logicsheet yourself, and posting your extensions back to the
> Cocoon developers.

I am quite new to XSP/logicsheets but they seem so wonderfully simple; I'll

take a look anyway to the esql logicsheet to see if I can make something of


Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message