Subject: Re: internal DTD-subset and CDATA-section
From: Tobias Reif <tobiasreif@xxxxxxxxx>
Date: Fri, 23 Mar 2001 11:02:00 -0800 (PST)
|
Hi,
if I put the following
<xsl:text
disable-output-escaping="yes"><![CDATA[&fast-slow;;
&slow-fast;
]]></xsl:text>
anywhere, it outputs
&fast-slow;; &slow-fast;
as desired.
However, if I try to get the exact same thing into an
attribute,
by doing
<xsl:attribute name="keySplines"><![CDATA[&fast-slow;;
&slow-fast;]]></xsl:attribute>
or
<xsl:attribute name="keySplines"><xsl:text
disable-output-escaping="yes"><![CDATA[&fast-slow;;
&slow-fast;
]]></xsl:text>
</xsl:attribute>
I get
&fast-slow;; &slow-fast;
Jeni mentioned this circumstance; but why is that? I
would like to have the entities as attribute-values in
the output, because they are easier to understand than
the numbers.
keySplines="&fast-slow;; &slow-fast;"/>
just is easier to read than
keySplines="0 0 .5 1;.5 0 1 1".
Tobi
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|