View Single Post
Old 07-30-2009, 11:58 AM   PM User | #3
RossMcCaughrain
New Coder

 
Join Date: Jul 2009
Posts: 37
Thanks: 1
Thanked 1 Time in 1 Post
RossMcCaughrain is an unknown quantity at this point
If you are processing your page each time via post you could pass your selected option as a $_POST variable and use:

http://us.php.net/manual/en/xsltproc...tparameter.php


basically in your xsl define a parameter
Code:
<xsl:param name="selectedOption">No Value</xsl:param>
then after your post set:

PHP Code:
$proc = new XSLTProcessor;
$proc->importStyleSheet($xsl); // attach the xsl rules
$proc->setParameter('''selectedOption'$_POST['selectedOption']); 
RossMcCaughrain is offline   Reply With Quote
Users who have thanked RossMcCaughrain for this post:
rizzo89 (07-30-2009)