[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] embeding special characters into html tags (&)
From: "Yates, Danny (ANTS)" <danny.yates@xxxxxxxxxx>
Date: Thu, 6 Mar 2003 09:47:11 -0000

Hi,

Perhaps you meant "&#38;" - note the ";" on the end. Or even &amp;

Rgds,

Dan.

-----Original Message-----
From: Vilius Jagminas [mailto:vilius@xxxxxxxxx]
Sent: 06 March 2003 09:37
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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.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


***************************************************************************
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



Current Thread
Keywords
xml