# Using XML to display data

**URL:** <https://forum.kirupa.com/t/using-xml-to-display-data/202547>\
**Category:** Uncategorized\
**Created:** [October 2, 2006, 4:45pm UTC](https://forum.kirupa.com/t/using-xml-to-display-data/202547 "2006-10-02T16:45:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![acc](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@acc](https://forum.kirupa.com/u/acc)\
**Post date:** [October 2, 2006, 4:45pm UTC](https://forum.kirupa.com/t/using-xml-to-display-data/202547/1 "2006-10-02T16:45:33Z")

</div>

I’m new to using XML, but would like to use it to display data.

Basically I need to display the following: product name, description, url, category

Found this tutorial on [w3schools.com](http://w3schools.com) and would like to get people’s opinion on its approach.

[http://www.w3schools.com/dom/dom\_parser.asp](http://www.w3schools.com/dom/dom_parser.asp)

Would this be the best way achieve what I’m doing. I want to make sure it can be viewed by everyone who visits the site. With this example, would I also be able to create some sort of filter, in case, I want it to only show the products under a specific category?

Or should I use XSL? Or anything else?

Thanks
