[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 10:23:54 -0800 (PST)
cdata problem internal
Hi Jeni,

> You can set the DOCTYPE declaration and the fact
> that you want to use
> a CDATA section (although as David C. said, there's
> no point in having
> one with the example as shown) using the xsl:output
> element:

Why is there no point?
Below is the complete desired output.

> There's no much point in defining entities unless
> you're going to use
> them, so presumably you'll also want to create
> entity references
> within your output.

sure. see below: (I hope it gets through without a
problem)

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd"
[
        <!ENTITY fast-slow "0 0  .5 1">
        <!ENTITY slow-fast ".5 0  1 1">
]>
<svg viewBox="0 0 800 600">
        <style type="text/css"><![CDATA[
.balls {font: 30pt arial}
                ]]></style>
        <defs>
                <animate id="ani1a"
xlink:href="#ball1"
attributeName="x" begin="0s;ani11a.begin+1s" dur="2s"
to="100" fill="freeze"/>
                <animate id="ani1b"
xlink:href="#ball1"
attributeName="y" begin="0s;ani11b.begin+1s" dur="2s"
calcMode="spline" keySplines="&fast-slow;;
&slow-fast;" values="400; 100; 400" keyTimes="0; 0.5;
1" fill="freeze"/>
<!-- more animation -->
        </defs>
        <g class="balls">
                <text id="ball3" x="400"
y="400">3</text>
                <text id="ball2" x="200"
y="400">2</text>
                <text id="ball1" x="400"
y="400">1</text>
        </g>
        <g class="points">
                <circle id="circle1" cx="100" cy="400"
r="2"/>
                <circle id="circle2" cx="200" cy="400"
r="2"/>
                <circle id="circle3" cx="400" cy="400"
r="2"/>
                <circle id="circle4" cx="500" cy="400"
r="2"/>
        </g>
</svg>


Thank you very much for your help!

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.