aspose file tools*
The moose likes XML and Related Technologies and the fly likes using xsl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "using xsl" Watch "using xsl" New topic
Author

using xsl

vishwanath sastry
Greenhorn

Joined: Oct 03, 2003
Posts: 1
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.
 
subject: using xsl
 
Similar Threads
Displaying XSL from XML
converting xml to xsl
reading the name of the attribute from xml file
Using XSL to filter XML & Multiple XSLs
Delay while I type characters in the text box