xsl-list
[Top] [All Lists]

embeding special characters into html tags (&)

2003-03-06 02:37:12
Hello,

I have got the following problem.

<xsl:template match="child">
...
<a href:"http://www.sbc.su.se/~vilius/goservice/go(_dot_)cgi?acc={(_at_)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



<Prev in Thread] Current Thread [Next in Thread>