http://qs321.pair.com?node_id=180738

Jaap has asked for the wisdom of the Perl Monks concerning the following question:

Searching CPAN for 'XML' gives one a thousand hits. A lot of these hits start with XML::. I am writing a module for converting coordinates into svg-graphs (think gnuplot).

Currently i print the XML myself (svg is xml) but someone poited out it might be a good idea to use some XML:: module.

Can anyone point me in the good direction as to which one to use?

Replies are listed 'Best First'.
Re: which XML module?
by mirod (Canon) on Jul 10, 2002 at 13:24 UTC

    A simple search on "XML Module" in the top box would have returned Which XML module to use? which contains info and links you might find useful.

    --
    The Error Message is GOD - MJD

Re: which XML module?
by Abstraction (Friar) on Jul 10, 2002 at 13:25 UTC
Re: which XML module?
by ajt (Prior) on Jul 10, 2002 at 14:11 UTC
Re: which XML module?
by grantm (Parson) on Jul 10, 2002 at 13:32 UTC
Re: which XML module?
by ferrency (Deacon) on Jul 10, 2002 at 13:19 UTC
    As you noticed, there are a lot of XML modules, and everyone has their favorite. There tend to be a lot more candidates for XML parsing and processing than for generation.

    Personally, I like XML::Twig for parsing and modifying XML documents. For generating well-formed XML from scratch, I've had some good experiences with XML::Writer.

    Alan

Re: which XML module?
by PodMaster (Abbot) on Jul 10, 2002 at 15:20 UTC
    Maybe you wanna try to search for SVG, yields 4 distributions
Re: which XML module?
by Matts (Deacon) on Jul 11, 2002 at 11:08 UTC
    This depends very much on your task at hand. However, since you're talking about making graphs from SVG, as usual XML.com is the place to look. Here is an article by Kip on creating SVG graphs, and here, here and here are Kip's three excellent articles on helping you choose an XML module for whatever task you have at hand.

    Always check his column first - it's the most up to date resource on XML modules, and is even better than O'Reilly's book "Perl and XML" (IMHO).