This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
parameters + links
- From: "Rachel Cunliffe" <r dot cunliffe at auckland dot ac dot nz>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 26 Jul 2002 15:03:48 +1200
- Subject: [xsl] parameters + links
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi there
If I want to pass a parameter to my xsl/xml (stating which records to
display), how exactly do I do this?
<a href="myfile.xml?parameter=showall">show all</a>
and then have:
<xsl:apply-templates select="objects/record[type=$parameter]" />
??
Thanks in advance,
Rachel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list