about the opensource lib for parsing the svg file

W

whiteideal

hay, guys, i just want to create a svg file according to my data, but
i don't know whether there is some opensouce lib to do such things.
Can you tell me about it? Thanks.
 
J

Juha Nieminen

hay, guys, i just want to create a svg file according to my data, but
i don't know whether there is some opensouce lib to do such things.
Can you tell me about it? Thanks.

Given that the svg format is rather simple, why don't you just create
one with direct ofstream writes? Just check the svg specs online.
 
F

Federico Zenith

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hay, guys, i just want to create a svg file according to my data, but
i don't know whether there is some opensouce lib to do such things.
Can you tell me about it? Thanks.

SVG is a subset of XML. You could use libxml++:
http://libxmlplusplus.sourceforge.net/

Otherwise (Google is your friend), see:
http://libboard.sourceforge.net/

- -Federico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIoXEsBIpu+y7DlLcRAoucAJ9FpVhPbChMunCRUI3mDOt98QJoFACfZ6lf
iYA9LEUaenuMg/Xtir9aW0Q=
=cQ9R
-----END PGP SIGNATURE-----
 
W

whiteideal

Given that the svg format is rather simple, why don't you just create
one with direct ofstream writes? Just check the svg specs online.

Yeth, I think this is the most simple method, since that I just draw
some lines and text in my svg file.
 
W

whiteideal

Looks rather undocumented. (Just a list of classes and member
functions with short descriptions is not the best way of quickly
learning how to use the library.)

Any quick tutorials of this anywhere?

there are many xml lib for such things, like sax2 ans xmlspy. I know
sax2 is free. and xmlply is not free but good for that.
 
W

whiteideal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



SVG is a subset of XML. You could use libxml++:http://libxmlplusplus.sourceforge.net/

Otherwise (Google is your friend), see:http://libboard.sourceforge.net/

- -Federico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE -http://enigmail.mozdev.org

iD8DBQFIoXEsBIpu+y7DlLcRAoucAJ9FpVhPbChMunCRUI3mDOt98QJoFACfZ6lf
iYA9LEUaenuMg/Xtir9aW0Q=
=cQ9R
-----END PGP SIGNATURE-----

Yeah, there is no need to find a special svg parsing lib and a xml
parsing lib is ok for that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,466
Latest member
DrusillaYa

Latest Threads

Top