|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am new to building web applications. I am trying to populate
a dropdown list from information contained in tags in an xml document. For now I have the items coded in the html doc. But I would like for it to be dynamic for instance the xml doc named products.xml contains <Products> <product>Candy</product> <product>Cake</product> <product>Gum</product> </Products> and in the html document I have <td nowrap><b>Products(s)</b></td> <td nowrap> <SELECT name="products" multiple size=3> <OPTION value="Candy> Candy </OPTION> <OPTION value="Cake"> Cake </OPTION> <OPTION value="Gum"> Gum </OPTION> </SELECT> </td> </tr> Last edited by dedra73 : August 18th, 2004 at 07:04 PM. Reason: Change a value |
|
#2
|
|||
|
|||
|
I'm guessing that it's probably a job for XSL, you can find out more about that at http://www.w3schools.com/xsl/
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > HTML Selections from an XML Doc |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|