[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: URL parameters in xsl
most XSLT processors will pick up a URL parameter if you set up the
stylesheet to have an xsl:param of the same name, so,
<xsl:param name="uid"/> at the top level of the XSLT. You can fill in a default value as well. Better to leave it blank and then use <xsl:if test="$uid != ''"> to see if it's been filled in. simon On Monday, May 19, 2003, at 06:00 PM, Martin Lampen wrote: Hi all, am a newcomer to xsl I desperately need a way to extract the uid parameter from a URL (eg. http://192.168.22.105/default.asp?uid=2) and use it as a variable for if statements within xsl.
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
|