Forum Moderators: open

Message Too Old, No Replies

passage url parameter in xsl file

xml

         

gomez milano

1:41 pm on Sep 28, 2005 (gmt 0)

10+ Year Member



is it possible a passage of parameters o variable to xsl file eg:

myxslfile.xsl?product=icecream

<myxslfile>
<xsl: if $product=icecream>
---
--
---
tanx

choster

10:09 pm on Oct 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It depends on your processor but yes, it is common to pass external parameters to an XSL stylesheet.

In our Xalan-based system, we declare a null <xsl:param> in the root of the document which receives the value from the processor, after which it can be treated like any other global parameter.