Hi,
Perhaps you meant "&" - note the ";" on the end. Or even &
Rgds,
Dan.
-----Original Message-----
From: Vilius Jagminas [mailto:vilius(_at_)sbc(_dot_)su(_dot_)se]
Sent: 06 March 2003 09:37
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] embeding special characters into html tags (&)
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 &, 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
***************************************************************************
This communication (including any attachments) contains confidential
information. If you are not the intended recipient and you have received this
communication in error, you should destroy it without copying, disclosing or
otherwise using its contents. Please notify the sender immediately of the
error.
Internet communications are not necessarily secure and may be intercepted or
changed after they are sent. Abbey National Treasury Services plc does not
accept liability for any loss you may suffer as a result of interception or any
liability for such changes. If you wish to confirm the origin or content of
this communication, please contact the sender by using an alternative means of
communication.
This communication does not create or modify any contract and, unless otherwise
stated, is not intended to be contractually binding.
Abbey National Treasury Services plc. Registered Office: Abbey National House,
2 Triton Square, Regents Place, London NW1 3AN. Registered in England under
Company Registration Number: 2338548. Regulated by the Financial Services
Authority (FSA).
***************************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list