CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Parsing the PATH data from an SVG file

 



jamida
New User

Jan 30, 2010, 10:05 AM

Post #1 of 1 (2330 views)
Parsing the PATH data from an SVG file Can't Post

I'm looking for something that will return a list of points and ideally the path type from an SVG file.

I'm stunned that I can't find such a critter in the CPAN. All the SVG modules there seem to be going in the other direction... to make an SVG file and not to read and disassemble them. For example, the SVG module's method "get_path" is really a "set_path" as it takes a list of points and a path-type as input and returns an SVG object.

Additionally, the DOM oriented parsers will return a PATH object in total but (since they're XML parsers and not SVG specific) can't continue to parse the parts of the PATH element.

Help?

Thanks

Mike

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives