You're nesting single and double quotes too deeply. Don't use the select 
atttribute of the xsl:param tag, use the
content like this:

<xsl:param name="query">SELECT * FROM ULS WHERE [ULS].[User-Name]
='0145516'</xsl:param>


Lucas P�rez wrote:

> Hello, I am new in this of XML and XSLT and have a problem with the extensions
> of SQL. I need to put one query of the type
>
> <xsl:param name="query" select="'SELECT * FROM ULS WHERE [ULS].[User-Name]
> ='0145516'"/>
>
> and I not know how to put '0145516'. I obtain an exception of the type
>
> XSLT Error (javax.xml.transform.TransformerConfigurationException):
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException: Extra illegal tokens: 'u0103516', 
> '\',
> ''''
>
> I'm using a sun.jdbc.odbc.JdbcOdbcDriver with a MS Access database.
>
> Thanks in advanced
>
>         Lucas

Reply via email to