[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    DatabaseReader with multiple key columns??
From:       "Naquin, Beth" <Beth.Naquin () morpho ! com>
Date:       2002-05-31 18:47:35
[Download RAW message or body]

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


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>DatabaseReader with multiple key columns??</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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).</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I have noticed the DatabaseReader, but cannot find an \
example of it.&nbsp; Is the DatabaseReader the correct way to retrieve images from a \
database, or is there another/better solution?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Also, if the DatabaseReader is the way to go: Does \
anyone have an example?&nbsp; 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.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Also, the images are in a table whose primary key is two \
columns.&nbsp; Can the DatabaseReader handle this?&nbsp; It looks as if you can only \
specify a single key to the reader.&nbsp; Any ideas on how to make this \
work?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Beth Naquin</FONT>
<BR><FONT SIZE=2 FACE="Arial">SAGEM MORPHO Inc.</FONT>
<BR><FONT SIZE=2 FACE="Arial">1145 Broadway Plaza STE 200</FONT>
<BR><FONT SIZE=2 FACE="Arial">Tacoma, WA 98402</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">253-597-8245</FONT>
</P>

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic