• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using XSL to Render and Toggle Selected Radio Button or Selected Checkboxes

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have simple input textfields rendered without problem. Could anybody help me with an example to render radio buttons as well as checkboxes using XSL?

My data are in an XML file:

When rendering to HTML using XSL, I would like to have the "everMarried" default to "NO" and all fruits default to "selected".

Users can toggle the radio buttons and checkboxes and submit the selections.

I have a XSL file like:

[ January 11, 2008: Message edited by: JiaPei Jen ]
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You haven't shown the HTML you want to generate for one of those components. Designing the HTML would be the first step in the process.
reply
    Bookmark Topic Watch Topic
  • New Topic