Re: [xsl] Passing an XSLT param to embedding php script

Subject: Re: [xsl] Passing an XSLT param to embedding php script
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Sun, 6 Aug 2006 11:25:21 +0100
On 8/5/06, Jim Sylva <jasylva@xxxxxxxxxxxx> wrote:
Hi, Folks,

I am passing a param to my XSL style sheet via the command line. The
style sheet contains a php script. I would like to pass the XSLT param
to a variable within the embedded php script.
I am using Saxon 6.5.3.
Any help would be greatly appreciated.

Just use <xsl:value-of select="$whateverTheParamIsCalled"/>


The PHP script is the result of the transform, so you just need to
insert the value into the result.

Maybe post an example if this isn't clear...

cheers
andrew

Current Thread