Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] XSLT+XPATH as SVG scripting?

From: DPawson@-----------
To:
Date: 5/30/2002 12:11:00 AM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent