| 
 
Subject: RE: [xsl] 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 | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] passing variable through , cknell | Thread | [xsl] Using document() and XPath to, SORENS,MICHAEL (HP-B | 
| Re: [xsl] passing variable through , Eric Smith | Date | [xsl] enclose output of transform i, Dave Beattie | 
| Month |