Subject: [xsl] How to disable output escaping inside attribute values From: Ivanco Maros <ivancoma@xxxxxxxxxx> Date: Wed, 10 Apr 2002 11:26:14 +0200 |
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&nbsp;&nbsp;Company</Company_name> </Location> Desired HTML output is: <INPUT type="text" value="My 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&nbsp;&nbsp;Company"/> I will appreciate any suggestion or workaround. Maros. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] '>' or '<' in element xml, Mark Seaborne | Thread | RE: [xsl] How to disable output esc, Julian Reschke |
[xsl] selectin element and attribut, Jarkko . Moilanen | Date | Re: [xsl] selectin element and attr, Jeni Tennison |
Month |