- From: <ronan@roasp.com>
- Date: Wed, 1 May 2002 14:00:43 +0200
- To: "svg-discuss" <svg-discuss@roasp.com>, "www-svg" <www-svg@w3.org>, "Svg-Developers" <svg-developers@yahoogroups.com>
Hi all... Peter Wainwright, the author of several important Perl/Apache books books including Professional Perl Development, Professional Apache, and Professional Perl Programming ( http://www.wrox.com/ACON1.asp?WROXEMPTOKEN=446810ZS4OrDbUMfLpGxJTYHAx ) has just released a major upgrade of SVG::Parser, an XML parser for SVG within the CPAN SVG module framework. Amongst others, one of the strengths of SVG::Parser is that it allows the user to specify the underlying parsing engine from a number of options. The parser POD is quite thorough (Probably has something to do with the fact Peter is the author of a number of Wrox books on Perl and Apache). The parser is fully intergrated into the SVG.pm Document Object Model, and therefore allows developers to read-in an existing SVG file, parse it, and then use the SVg Perl module to modify the file contents. Here is the description from the POD: (http://search.cpan.org/doc/PETERW/SVG-Parser-0.97/Parser.pm) SVG::Parser is an XML parser for SVG Documents. It takes XML as input and produces an SVG object as its output. SVG::Parser supports both XML::SAX and XML::Parser (Expat) parsers, with SAX preferred by default. Only one of these needs to be installed for SVG::Parser to function. A list of preferred parsers may be specified in the import list - SVG::Parser will use the first parser that successfully loads. Some basic measures are taken to provide cross-compatability. Applications requiring more advanced parser features should use the relevant parser module directly; see SVG::Parser::Expat and SVG::Parser::SAX. The parser can be found at the following URL: Ronan Oger
Received on Wednesday, 1 May 2002 08:02:13 UTC