xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: Sql extension - parameterized query
Date Fri, 21 Dec 2012 20:08:26 GMT
Christoffer Bruun schrieb am 20.12.2012 um 13:49 (+0100):
> Den 20-12-2012 13:47, lars.bjerges@swedbank.se skrev:

> ><xsl:param name="q1type" select="int" />
> >
> That won't work since select will try to evaluate int as an xpath query
> You should use:
> <xsl:param name="q1type">int</xsl:param>

Yes, but that would build an RTF (result tree fragment in XSL lingo),
and it's more efficient to use a simple string (note the quotes):

 <xsl:param name="q1type" select="'int'" />

Michael

Mime
View raw message