This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using xsl

 
vishwanath sastry
Greenhorn
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.
vishwanath.s
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic