XSLT
| From: | ninti at ninti dot com | Date: | Wed, 25 Sep 2002 03:33:48 +0000 |
| Subject: | XSLT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117493@lists.php.net to get a copy of this message | ||
I'm wondering if there is a way to include a query string parameter in an xsl
stylesheet.
I have a script that does this:
xslt_process($xsltprocessor,$xml,$xsl);
I'd like to include the value of a variable passed to this script via a query
string (eg. xmlscript.php?p=3 ), whereby the value '3' is passed to the xsl
stylesheet somehow. The xsl stylesheet should then only process section 3 of the
xml document.
I've played about with extra arguments to xslt_process and <xsl:param
name="p"/>
to no avail.
Hope this is clear enough.
TIA
Mick
----------------------------------------------------
MICHAEL HALL Web Development Officer
Batchelor Institute of Indigenous Tertiary Education
W: mick.hall@nt.gov.au (08) 8951 8352
H: ninti@ninti.com (08) 8953 1442
----------------------------------------------------