You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Naquin, Beth" <Be...@morpho.com> on 2002/05/31 20:47:35 UTC

DatabaseReader with multiple key columns??

Hello,

I have jpeg images stored in a sybase database and want to display them as
images on an HTML page (along with some other stuff).

I have noticed the DatabaseReader, but cannot find an example of it.  Is the
DatabaseReader the correct way to retrieve images from a database, or is
there another/better solution?

Also, if the DatabaseReader is the way to go: Does anyone have an example?
I saw one a few months ago in the list, but wasn't quite sure what XSL/HTML
I should write to display the image on my page.

Also, the images are in a table whose primary key is two columns.  Can the
DatabaseReader handle this?  It looks as if you can only specify a single
key to the reader.  Any ideas on how to make this work?

Thanks,

Beth Naquin
SAGEM MORPHO Inc.
1145 Broadway Plaza STE 200
Tacoma, WA 98402

253-597-8245