Hi Chifeng, I've just checked in a fix to the trunk which will at least allow inline SVG to work with Google Chrome providing you attach the appropriate xmlns attribute to the SVG element. It should be easy to get it working with Firefox as well (I'll do that shortly). For that we'll need to make sure Links spits out an appropriate mime-type: application/xhtml+xml should work, I believe.
Sam On 25/02/2011 17:15, Chifeng Chou wrote:
Hi everyone, I'm doing an experiment to manipulate SVG in the browser via Links. There're a few ways to show SVG on HTML webpages, i.e. <object>, <embed> and <iframe>. They all present SVG files as external sources and do not allow <SVG> tags inside directly. Consequently, I can't do much to the content of SVG. However, inline SVG can live inside a valid XHTML document but I failed to do so with Links. According to the link bellow, Links does not support XHTML validation. http://lists.inf.ed.ac.uk/pipermail/links-users/2010-February/000225.html Is there any way to get around this? Thanks for any suggestion, Chifeng
_______________________________________________ links-users mailing list [email protected] http://lists.inf.ed.ac.uk/mailman/listinfo/links-users -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
