Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


XML Filtering - Help for a newbie please

I am using XML for the first time to display item on a sales and wants page and need some help in displaying only those items of a particular category.
My idea is to have one that displays all items but then have a navigation bar that will allow visitors to see items by category.

My XML file would look something like this:

<?xml version="1.0" encoding="ISO8859-1"?>
<?xml-stylesheet type="text/xsl" href="sales.xsl"?>

Car make
car description
contact number
email address

Furniture Title
Furniture Description
contact number
email address

Toy Title
contact number
email address

I have currently created a separate XML and XSL sheet for each category, which works, but I want to know if there is a better, more dynamic, way of doing what I want without having to alter several XML and XSL sheets.

Many thanks in advance.
Sign In or Register to comment.