[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: embeding special characters into html tags (&)

Subject: Re: embeding special characters into html tags (&)
From: "Babu Sathish Ramaraj" <bramaraj@xxxxxxxxxx>
Date: Thu, 6 Mar 2003 15:33:19 +0530
ant replace
You need to replace & with &amp;

cheers,
Babu Sathish

----- Original Message -----
From: "Vilius Jagminas" <vilius@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 06, 2003 3:07 PM
Subject:  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
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.