xsl-list
[Top] [All Lists]

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

2006-08-06 03:25:40
On 8/5/06, Jim Sylva <jasylva(_at_)northrim(_dot_)net> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>