Subject: RE: [xsl] variables from the url From: "Todd Baker" <lists@xxxxxxxxxxxxxxxxx> Date: Wed, 19 Nov 2003 19:50:49 +1100 |
> Thanks for the direction, I am using PHP on unix. How about this then.. Its from PHP on linux... Courtesy of a mate.... This line --> $params = array('query' => strtolower($query), 'page' => $page, 'start' => $start, 'num' => $num ); Populates the parameters, you must also declare the parameters In your xsl <xsl:param name="query"></xsl:param> <xsl:param name="num"></xsl:param> <xsl:param name="start"></xsl:param> <? $xh = xslt_create(); $args = array(); $params = array('query' => strtolower($query), 'page' => $page, 'start' => $start, 'num' => $num ); $myResult = xslt_process( $xh, 'XMLFILE.xml', 'STYLESHEET.xsl', null, $args, $params ); xslt_free($xh); echo $myResult; ?> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] variables from the url, Kevin Waterson | Thread | [xsl] OT: Wrong time of messages se, Dimitre Novatchev |
RE: [Fwd: Re: [xsl] occurrences and, Jarno . Elovirta | Date | Re: [xsl] Re: Re: Can grouping and , Herman Kwok |
Month |