If I send this request to a page:
http://www.server.com/show.xml?color=red&number=two
Can I do something like this?:
I like the color <xsl:url-param name='color' /> and the number <xsl:url-param name='number' />.
If you need clarification of the question, lemme know
Thanks for any answers,
Chrelad
No; in general, XSL engines aren’t tied to a web server.
However, most XSL engines allow you to pass in some parameters along with your stylesheet and document so what you can do, if you’re calling it from a web-enabled system, is map your GET parameters directly through to your XSL engine.
For instance, if you were using PHP, you could do something like this:
You’d have to make sure you sanitize anything you passed-through. Then, you can simply do: