selected value in select box using xsl,xml
-
how do we display the selected value in select box(drop down) in xsl & xml. All the values for drop down are selected thru' xml file.
Just to be clear: do you want to use XML/XSL to do something to your select boxes in response to a client-side event?
-
Just to be clear: do you want to use XML/XSL to do something to your select boxes in response to a client-side event?
-
You don't really need XSL for client-side processing (unless you want a client-side event to write a lot of HTML). XSL is a transformation language, not a programming language. It can be used to write HTML elements, but doesn't respond to them. Is this for an intranet application, or an internet application? (I.e. can you control which browser your users have?) What exactly should happen in the SELECT element's onChange event?
-
how do we display the selected value in select box(drop down) in xsl & xml. All the values for drop down are selected thru' xml file.
Is this for browser-based client side? If so, why not do the following: when event happens send x info to the server using XMLHTTP and use the resulting XML to populate the combo using JScript. XSL doesn't really fit in here. Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
-
how do we display the selected value in select box(drop down) in xsl & xml. All the values for drop down are selected thru' xml file.
-
how do we display the selected value in select box(drop down) in xsl & xml. All the values for drop down are selected thru' xml file.
Usually these questions come together Drop downs, Combo/Selection boxes and Hyperlinks - so let's just do them all here and now! :-D
Creating a hyper link in XSL(T) - note all the replies with alternate ways of doing it :eek:
Creating a select box and selecting one or more items
Extracting an item from a delimited list