XML and HTML

Subject: XML and HTML
From: "Ben Sorek" <bsorek@xxxxxxxxxxxxx>
Date: Mon, 10 Apr 2000 18:59:09 +0200
I am having a problem. Maybe it's trivial.

I have an XML file that looks something like this:

<CARS>
	<MAKE>SUBARU</MAKE>
	<MAKE>FORD</MAKE>
	<MAKE>TOYOTA</MAKE>
	<MAKE>HONDA</MAKE>
</CARS>

<COMPUTERS>
	<MAKE>IBM</MAKE>
	<MAKE>DELL</MAKE>
	<MAKE>COMPAQ</MAKE>
	<MAKE>MAC</MAKE>
</COMPUTERS>

....

I want to have an html drop down list that would have choices
-->CARS
-->COMPUTERS
.....

then when the user selects cars, another drop down list on the same page has
the choices:
SUBARU
FORD
TOYOTA
HONDA

does anybody have any idea how i would do that.
I know how to access all the appropriate element. The problem is to
"dynamically" access different parts of the XML document
depending on what the user chose. I guess you could call it "event driven".

Thanks

Ben


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread