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

Re: XSLT+XPATH as SVG scripting?

Subject: Re: XSLT+XPATH as SVG scripting?
From: Max Froumentin <mf@xxxxxx>
Date: Sat, 01 Jun 2002 15:50:26 +0200
svg scripting
DPawson@xxxxxxxxxxx writes:

> Functionally the prime usages seem to be animation,
> addition and removal (or hiding) of some element
> of the SVG document.

Most of this can indeed be done in SMIL animation, in a simpler way
than using Javascript (see examples below), or introducing XSLT
constructs. But I suspect fewer SVG developers are familiar with
declarative animation than with JavaScript, and I suspect using
XSLT/XPath constructs there wouldn't make Javascript programmers
change their mind so easily.

<!-- animate -->
<animate id="move3" begin="move2.end" xlink:href="#m"
attributeName="x" attribut eType="XML" dur="2s" from="45" to="55"
fill="freeze" restart="never"/>

<!-- hide -->
<set xlink:href="#N" begin= "move2.end+2s" dur="indefinite"
attributeType="CSS" attributeName="visibility" to="hidden"
restart="never"/>

Max.


 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-2007 All Rights Reserved.