This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: disabling output escaping within an xsl attribute


> Palm VII Web Clipping Applications do not  understand the & character
> representation in a URL.

Then any workaround you use to produce bad HTML should be accompanied by a
bug report to the people who make Palm VII Web Clipping Applications.

> I cannot seem to  get disable-output-escaping to work within an xsl:attribute. I
> can get it to work for non-attributes. What am I doing wrong ?

>        <xsl:attribute name="href">
>          <xsl:value-of disable-output-escaping="yes"
> select="string('http://www.dot.com/service?foo=1&amp;bar=2')" />
>        </xsl:attribute>

string() isn't necessary, but shouldn't affect the result. You're not
doing anything wrong. My guess is that disable-output-escaping applies
only to text nodes, according to the spec.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]