I tried to run a stylesheet that inputs a parm and
interprets the value of it as a location path.
I.e.
<xsl:param name="query">no-default</xsl:param>
...
<xsl:template name="querytemp">
<xsl:apply-templates select="$query"/>
</xsl:template>
This yields "cannot convert to node-set" when
running it with XT. Of course, query is a variable
that holds a string, thus $query ia a String
expression and not a node-set expression.
Is there anything I can do except generating the
stylesheet on the fly ?
Juliane
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|