Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using xsl

vishwanath sastry
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic