Need to use JavaScript with XSL stylesheets to perform a DHTML type of operation?
Is it necessary to use JavaScript with XSL stylesheets if you want to
perform a DHTML type of operation on an input form comprising of radio
buttons or checkboxes, which does not lose the users inputs, but marks
certain radio buttons/checkboxes by highlighting or colouring? If not, how
easy is it to do this kind of thing within XSL only?
When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to keep you informed on recent service-oriented architecture (SOA) and SOA-related topics such as integration, governance, Web services, Cloud and more.
Hannah Smalltree, Editorial Director
It can be done with XSL only (i.e. server side) but requires setting default
values for buttons/checkboxes in the generated HTML.
The advantage of doing it that way is that your app is less dependent
on browser versions. The disadvantage is more complex server-side
processing.
Dig Deeper
-
People who read this also read...
This was first published in June 2002