This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generate xsl dynamically?

 
gahn folorn
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.
is it possible to generate xsl dynamically instead of using several xsl? how do i get a value from post/get and insert into xsl?
i using a servlet to display a page from a single xml n xsl.
thx!
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by gahn folorn:
hello.
is it possible to generate xsl dynamically instead of using several xsl? how do i get a value from post/get and insert into xsl?
i using a servlet to display a page from a single xml n xsl.
thx!

if you are using xalan then see this example http://xml.apache.org/xalan-j/samples.html#usestylesheetparamservlet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic