Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. selected value in select box using xsl,xml

selected value in select box using xsl,xml

Scheduled Pinned Locked Moved XML / XSL
xml
7 Posts 4 Posters 20 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hitu
    wrote on last edited by
    #1

    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.

    M S L 4 Replies Last reply
    0
    • H Hitu

      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.

      M Offline
      M Offline
      MS le Roux
      wrote on last edited by
      #2

      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?

      H 1 Reply Last reply
      0
      • M MS le Roux

        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?

        H Offline
        H Offline
        Hitu
        wrote on last edited by
        #3

        yes. I want to use XML/XSL for onChange javascript event.

        M 1 Reply Last reply
        0
        • H Hitu

          yes. I want to use XML/XSL for onChange javascript event.

          M Offline
          M Offline
          MS le Roux
          wrote on last edited by
          #4

          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?

          1 Reply Last reply
          0
          • H Hitu

            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.

            S Offline
            S Offline
            SimonS
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • H Hitu

              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.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              htkjh khgjk hjk:-O :zzz: :wtf: :confused: :~ :wtf: :laugh:

              1 Reply Last reply
              0
              • H Hitu

                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.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups