[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML and HTML

Subject: XML and HTML
From: "Ben Sorek" <bsorek@xxxxxxxxxxxxx>
Date: Mon, 10 Apr 2000 18:59:09 +0200
xsl html dropdown textbox
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.