[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: XML and HTML (Selectboxes & client-side scriptiing)


Subject: Re: XML and HTML (Selectboxes & client-side scriptiing)
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 11 Apr 2000 09:33:03 +1200

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



Current Thread
  • XML and HTML
    • Ben Sorek - Mon, 10 Apr 2000 18:59:09 +0200
      • Dan Morrison - Tue, 11 Apr 2000 09:33:03 +1200 <=
Keywords