This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XML and HTML
- To: "Xsl-List" <xsl-list at mulberrytech dot com>
- Subject: XML and HTML
- From: "Ben Sorek" <bsorek at surfnotes dot com>
- Date: Mon, 10 Apr 2000 18:59:09 +0200
- Reply-To: xsl-list at mulberrytech dot com
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