|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT+XPATH as 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






