Re: Editing SVG content with Cairo

David Young <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Sun, Jan 05, 2014 at 09:11:04PM +0900, 影月 零 wrote:
> What I need isn't necessarily a scene graph in whole as I need no actual
> rendering capability. I really just need to be able to manipulate the SVG
> data and I would like to do that in an object-oriented and language-native
> way, rather than hacking through XML with an XML library like Nokogiri.
> That no library like this seems to exist surprises me. I was really
> expecting to find something like COLLADA DOM (but hopefully easier to use)
> for SVG.
>
> For now I'll just hack the XML as I really only need to change colors. It
> feels like a poor way to do it but I guess I have no choice. Thanks for the
> help anyway!

A few years ago I had a student create some tools for editing streams
of XML data.  They were essentially XML analogues to the UNIX grep/sed
tools.  Tools like that might suffice for changing the colors.

Dave

-- 
David Young
[email protected]    Urbana, IL    (217) 721-9981
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.