• 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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, im vishwanath.
I am developing an application in which i have an XML file containing a hierarchy of questions. The mode of input to be displayed to the user for answering a question is also described in the XML file(ex: combo box,check box, radio button etc.). Now , depending on the answer to the question, next question is displayed. the level of nesting can be anything. ex:
"Are you married?" yes/no
If yes "do you have childeren?" yes/no
if yes "how many children?" [input thro a text field]
and so on.
i need to write an xsl file which will read the xml file and generate the html file which does the above task.
Any suggestions would be appreciated.
can i use javascript variables in xsl and xsl param/variable in javascript?
thanks in advance.
vishwanath.s
 
reply
    Bookmark Topic Watch Topic
  • New Topic