I half remembered doing something like this before … and it works: though I don’t know if this is a bug in xsltproc or what…
To get the stylesheet to work I have to delete the namespace declaration in the svg tag in the graph – ie change
<svg width="1000px" height="800px" version="1.1" xmlns="http://www.w3.org/2000/svg">
to this:
<svg width="1000px" height="800px" version="1.1">
and then run xsltproc with --novalid
specified.
Will enquire further on the appropriate mailing list.
Related articles
- XSL problem (cartesianproduct.wordpress.com)
- Using XSLT to manipulate an SVG file (cartesianproduct.wordpress.com)
- Xml… (nikhatshahin.wordpress.com)
- Viewing Search Results XML (joanneklein.wordpress.com)
- Using XSL to Style SharePoint webparts (osamadesoukey.wordpress.com)
- XSLTListViewWebpart in Sharepoint 2010 Uncovered (yoursandmyideas.wordpress.com)