• 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

Is dynamic xml/xsl possible?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was hoping to pass a request parameter to an xsl stylesheet and produce dynamic content based on the parameter passed.
In jsp/servlets I can do this easily by use of the request object:
request.getParameter("whateverParameterName").
Can I do something similar in xsl?
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hope you had already downloaded the XALAN package from Apache site, this packagae has a set examples which shows how to takes parameters via URL and supply it to XSL file.
An overview can be found here http://xml.apache.org/xalan-j/samples.html#servlet
Please post back if you are not clear.
 
reply
    Bookmark Topic Watch Topic
  • New Topic