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

Urgent !!! '&' being replaced by '&'

Subject: Urgent !!! '&' being replaced by '&'
From: Mahesh Nanavate <mahesh.nanavate@xxxxxxxxxxx>
Date: 6 Aug 2000 07:59:41 -0700
replaced by amp
Hi,
I am facing a problem.The "&" in the 'headline' element value of "&apos;"
is  being replaced by &amp;.
So finally the title attribute is having a value of &amp;apos; instead of
&apos;.

The snippets of the stylesheet  that I am using are given below:


<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method = "xml" doctype-public = "-//WAPFORUM//DTD WML 1.1//EN"  doctype-system = "http://www.wapforum.org/DTD/wml_1.1.xml" indent = "yes" />

----
----
----
<xsl:variable name="cardTitle" select="XML-MSG/SERVICE-INFO/OUTPUT/Result/headline" />
<card id="News" title="{$cardTitle}">

I want that &apos; remains as &apos; and not &amp;apos;
Can anybody please help me solve this problem?

Any help is highly appreciated,

Thanks and regards,
Mahesh.





 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.