Load XML data into an HTML document

Hi

Great site you have here. I was wondering if anyone knew how I could load xml data into an html document.

Specifically I just want to have an xml file like

<prices>
<item name=“bluetoque” action="$19.99"></item>
<item name=“orangeshirt” action="$15.99"></item>
<item name=“redhat” action="$22.99"></item>
</prices>

and be able to load the prices (actual number) into an html document by using the item name. That way I could just change prices on the xml document for updates.

If anybody knows how to do this I would be very greatful for any help as I’m a noobie to all of this stuff.

Thank you

what serverside language are you using?

Hello again. Thank you for responding.

I’m really new to this and I thought that I could use javascript to load the information but I’m really unsure what I should do. All, I need is an external document that just holds the prices. I’m sure there are lot’s of ways to do this sort of thing but if you could just humour me I’d be very greatful.

Thank you

http://www.quirksmode.org/dom/importxml.html