xsl-list
[Top] [All Lists]

RE: passing variable through to document() call.

2003-08-14 04:53:39
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