[xsl] embeding special characters into html tags (&)

Subject: [xsl] embeding special characters into html tags (&)
From: Vilius Jagminas <vilius@xxxxxxxxx>
Date: Thu, 06 Mar 2003 10:37:12 +0100
Hello,

I have got the following problem.

<xsl:template match="child">
...
<a href:"http://www.sbc.su.se/~vilius/goservice/go.cgi?acc={@acc}&verbose=1";>
<xsl:value-of select="@acc"/>
</a>
...
</xsl:template>


I get an error:
XML Parsing Error: not well-formed

If I take away "&verbose=1" everything works fine.
Knowing that & is treated as a special character I tried to replace it with &#38, with no success. Could somebody of you experts please help me?


Thank you.

Vilius Jagminas
Masters student
www.sbc.su.se





XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread