This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

XSLT+XPATH as SVG scripting?


I've spent some time on an SVG list,
and roughly 60% of the posts involve scripting, most
often with javascript.

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

Question for the grammar aware readers.

Is it reasonable to suggest that SVG 'build in'
(or whatever)to the rec something akin to what XSLT and XPATH
offer, for this functionality?

There appeared to be very little (functionally) that is
being done that couldn't be addressed using the techniques
found in XSLT.

Find a node, modify its attributes. Its something that
XPATH and XSLT does very easily.

The animations seem to fall into a recursive call
to some named template format, incrementing some
attribute and writing back to the 'document'.

Even the event handling appears to me not impossible:
<svg:eventHandler event='onclick' target='someXpath'>
   modify the memory model of the document
</svg:eventHandler>


Can anyone see anything way off base here?
 In terms of operation, I'm less sure.

Perhaps the SVG browser loads the file,
'compiles' the svg 'script' and acts on it
as required. 



Regards DaveP.








************snip here************** 

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

14th June 2002 is RNIB Look Loud Day - visit http://www.lookloud.org.uk to
find out all about it.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]