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

Re: SVG graphs

Subject: Re: SVG graphs
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Mon, 14 May 2001 18:25:00 +0100
svg utilities
>> Has anyone written an XSL transform to take some data/report schema
>> and create some sort of graph in SVG? More importantly, would you
>> like to share it with me? I'm working on it now and it doesn't seem
>> to be too hard, just a lot of mathmatical calculations, which I'd
>> rather R&D (rob and duplicate) than reinvent.

There's some quite cool stuff written by Doug Tidwell doing this kind
of thing at:

  http://www-106.ibm.com/developerworks/education/transforming-xml/xmltosvg/index.html

I've just put up some documentation for an SVG utility stylesheet at
http://www.jenitennison.com/xslt/utilities/svg-utils.html. The point
of the stylesheet isn't about charts, but rather about how to get SVG
images that you create dynamically to load into an HTML page that you
also create dynamically (it's based on some work I did for Xi Advies
bv, and it uses Chris Bayes' domtodom.js).

The crucial insight is that you can call a function in the main HTML
page from within a blank or dummy SVG file. This is the same thing
that Chris' Inline SVG utility does, but his works with SVG defined
inline with the HTML (a much neater approach).

Anyway, the example at
http://www.jenitennison.com/xslt/utilities/svg-example.html does a
couple of SVG charts, but they're not particularly breath-taking as
they weren't the point of the exercise :)
  
Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.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.