rr299
05-25-2007, 10:15 PM
Hi I hope someone can help me here. I have an xml document which has some text in it and some paths to images like the following:
<car>
<summary>here is a car</summary>
<model>this is the model</model>
<price>£xxxx</price>
<details>lots of cool features</details>
<thumbMain>stock/sl500/thumbMain.jpg</thumbMain>
</car>
etc...
I am using an xstl document to format the xml so i can show it in a table in a browser. This is all fine apart from when it comes to loading in the images. At the moment it is just loading the path text so I obviously need to process the information some how. Please can someone help, I have tried wrapping <img> tags around the path in the xstl but it isn't working. I can't find the answer anywhere which must mean i am searching for the wrong thing:(
Thanks
<car>
<summary>here is a car</summary>
<model>this is the model</model>
<price>£xxxx</price>
<details>lots of cool features</details>
<thumbMain>stock/sl500/thumbMain.jpg</thumbMain>
</car>
etc...
I am using an xstl document to format the xml so i can show it in a table in a browser. This is all fine apart from when it comes to loading in the images. At the moment it is just loading the path text so I obviously need to process the information some how. Please can someone help, I have tried wrapping <img> tags around the path in the xstl but it isn't working. I can't find the answer anywhere which must mean i am searching for the wrong thing:(
Thanks