[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML and HTML (Selectboxes & client-side scriptiing)
Ben Sorek wrote: > > I am having a problem. Maybe it's trivial. Trivial no. Last year it would have been almost impossible in fact without Java or ActiveX :-) > > I have an XML file that looks something like this: > ..... > > 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. First make yourself a 'static' page that can even achieve those results in DHTML. That's the tricky bit. There's a lot of JavaScript required to remake selectboxes on-the-fly. Once you've got that happening you can step back and start to abstract an XSL that will do it for you. OR If you only want it to work in IE5, see some of the MSDN columns. They've got some really tricky examples with keeping an XML object around & manipulating it on the client-side. .dan. :=====================:====================: : Dan Morrison : The Web Limited : : http://here.is/dan : http://web.co.nz : : dman@xxxxxxxx : danm@xxxxxxxxx : : 04 384 1472 : 04 495 8250 : : 025 207 1140 : : :.....................:....................: : If ignorance is bliss, why aren't more people happy? :.........................................: XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|