Re: Trying to read a parameter in the request in a XSL
On Friday, October 3, 2003, at 04:28 PM, Diodato, Anthony wrote:
When you first go to http://localhost:8100/cocoon/test.xml at first, only
You could do this in AxKit by simply adding a top-level param at the top of the XSL document with the correct name. This will allow access the URI parameter from the XSL. E.g.,
<xsl:stylesheet ... > ... <xsl:param name="L1"/> ... <xsl:template ... [etc]
Then in your templates test if it was set (automagically) by AxKit from the URI parameter with a boolean test:
the value is a string
<xsl:if test="$L1 = 'util'> ...
AxKit and Cocoon are similar so there might be a similar feature in Cocoon otherwise why not use AxKit ;-)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format