Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

which XML module?

by Jaap (Curate)
on Jul 10, 2002 at 13:06 UTC ( #180738=perlquestion: print w/replies, xml ) Need Help??

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.


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 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).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://180738]
Approved by ferrency
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2022-05-16 10:07 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (62 votes). Check out past polls.