File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Storing image in xml

Yogesh Mhatre
Greenhorn

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

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="http://www.myimage.com/image.jpg" />

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).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Storing image in xml
 
Similar Threads
Pronounciation of "Buzz Words"
making XML Doc from JDBC Results
Ajax Jqery xml response - not able to read response
Castor Mapping
iText problem with html-table to pdf