Discussion Locked

graphics in xml

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can i draw graphics through xml?And also how can i convert it into pdf?

1 reply

by jay eckles

You want SVG, a W3C specified XML grammar for 2D graphics. The final spec is available at
http://www.w3.org/TR/SVG/

I suggest you take a look at
http://xml.apache.org/batik/
which is an Apache project for SVG graphics. I don't think there'sany direct conversion of PDF, but that's not something you're likely to find out of the box anyway. It does, however, convert SVG to raster formats like JPEG which you might then be able to convert to PDF through a standard tool. This should give you a very good head start.

Good luck.

Jay Eckles

This discussion is closed to new replies.