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

How to disable output escaping inside attribute values

Subject: How to disable output escaping inside attribute values
From: Ivanco Maros <ivancoma@xxxxxxxxxx>
Date: Wed, 10 Apr 2002 11:26:14 +0200
xsl escape disabling
Hi,
	is there any possibility to disable output escaping inside attribute values?
I would love to output some hard spaces (and maybe some other escape characters) in dynamic output.

Fragment of my generated XML is:
<Location>
	<Company_name>My&amp;nbsp;&amp;nbsp;Company</Company_name>
</Location>

Desired HTML output is:
	<INPUT type="text" value="My&nbsp;&nbsp;Company"/>

I have already tried
	<INPUT type="text" value="{/Location/Company_name}"/>
and
	<xsl:variable name="pom"><xsl:value-of disable-output-escaping = "yes" select="/Location/Company_name"/></xsl:variable>	<INPUT type="text" value="{$pom}"/>

but I always get:
	 <INPUT type="text" value="My&amp;nbsp;&amp;nbsp;Company"/>

I will appreciate any suggestion or workaround. 

Maros.

 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.