hey

I got a problem trying to display a picture...

i have an xml file which contains data about a shop:-

<?xml version="1.0" encoding="ISO8859-1" ?>
<shop>
<sid>1</sid>
<name>Old Style</name>
<picture>doors.jpg</picture>
<map>blah.jpg</map>
<description> A nice coffee shop bar. </description>
<type>coffee/bar</type>
</shop>

i'm trying to use the picture element as a pointer to the image filename, doors.jpg, which exists in the same directory as the javascript.

But i cant find any way of using the data apart from to directly display on the screen as text. Can XML be used in this way? iif so how? any snippets apreciated.

cheers