Subject: RE: passing variable through to document() call.
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 12:53:39 +0100
|
> Yes of course that is the way to do it - I used the version below
> just for debugging and to remove a further contingency by passing a
static
> string to the param rather than the var $render2web viz.
>
> <xsl:with-param name="render2web" select="yes"/>
>
> Either way - its still not giving me any joy, alas.
Remember if you mean to use a string you need to use:
<xsl:with-param name="render2web" select="'yes'"/>
^ ^
Notice the single quotes. Without them you are telling the variable to
select the <yes> element - it's a common gotcha.
andrew
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
cknell - Wed, 13 Aug 2003 16:36:20 -0400 (EDT)
Andrew Welch - Thu, 14 Aug 2003 07:53:45 -0400 (EDT) <=
|
|