File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Storing image in xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Storing image in xml" Watch "Storing image in xml" New topic

Storing image in xml

Yogesh Mhatre

Joined: Feb 15, 2001
Posts: 20
How do we store images in xml
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
You cannot store an image( since XML contents are pure ASCII ), but you can store a reference to an image. Something like
< image ref="" />

Does that help?
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I agree. Here's the link:
subject: Storing image in xml
It's not a secret anymore!