read an image from xml file?

Hello…

I’m new to unity so i’m having a spot of trouble with some code. I’m wondering is it possible to somehow read an image from an XML file and convert it to a material so that it can be attached to an object.
The project i’m working on is a java web application where i have a unity web player embedded into my application. the web player is an art gallery environment i have created where a person can upload images on the web application side which talks to a server, saves the info in a database then writes the images details to an XML file.

I hope i made my problem clear, if not ask

Any suggestion/solutions/code snippets would be greatly appreciated!! :slight_smile: (javascipt if possible)

What dou you mean by “read an image from xml file”, read bytes and convert it to image? or just read web path to image?
Any way you should use WWW class

i want to retrieve the image by its paths that’s saved in the XML file.
thanks for the help