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

Re: internal DTD-subset and CDATA-section

Subject: Re: internal DTD-subset and CDATA-section
From: Tobias Reif <tobiasreif@xxxxxxxxx>
Date: Fri, 23 Mar 2001 11:02:00 -0800 (PST)
chris theisen email
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
&amp;fast-slow;; &amp;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


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.