image into a xml

I am using a xml database. i want to add a image for every record in xml. so how to add a picture and retrieve it in the code?
[133 byte] By [spicysipa] at [2007-11-26 16:31:55]
# 1
So add it as a BLOB to your PreparedStatement. The JDBC layer should take care of the rest, shouldn't it?
CeciNEstPasUnProgrammeura at 2007-7-8 22:56:30 > top of Java-index,Java Essentials,Java Programming...
# 2
can u explain me in brief?
spicysipa at 2007-7-8 22:56:30 > top of Java-index,Java Essentials,Java Programming...
# 3
> I am using a xml database. Could you explain us in brief what it is? If the problem is that it only copes with textual data, which an image is not, you can store them encoded with, say, base64.
BIJ001a at 2007-7-8 22:56:30 > top of Java-index,Java Essentials,Java Programming...
# 4
> If the problem is that it only copes with textual> data, which an image is not, you can store them> encoded with, say, base64.Still I think that should be the JDBC driver's task. Why should the program know how the DB stores its values?
CeciNEstPasUnProgrammeura at 2007-7-8 22:56:30 > top of Java-index,Java Essentials,Java Programming...
# 5
I am not sure whether there is JDBC driver for that "xml database".
BIJ001a at 2007-7-8 22:56:30 > top of Java-index,Java Essentials,Java Programming...