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

easy dom construction helpers for LibXML

by qq (Hermit)
on Jan 12, 2006 at 12:07 UTC ( #522679=perlquestion: print w/ replies, xml ) Need Help??
qq has asked for the wisdom of the Perl Monks concerning the following question:

Are there any recommendations for high level wrappers for dom construction based on XML::LibXML?

I've always used XML::Twig for dom creation in the past, and the verbosity of creating nodes with XML::LibXML is depressing.

The two modules I see on CPAN are XML::SimpleObject::LibXML which has a nice interface and gets a quick endorsement from chromatic at Re: Does anybody have expierence with XML::SimpleObject::LibXML?. However it looks a little sparse. The other is XML::LibXML::Tools which looks more full-featured, but somewhat ugly (to me) in its interface.

So the question is - what do people use? The raw LibXML methods? Home grown helper functions? Something else?

Update: Fixed id tag. Thanks blazar

Comment on easy dom construction helpers for LibXML
Replies are listed 'Best First'.
Re: easy dom construction helpers for LibXML
by qq (Hermit) on Jan 13, 2006 at 12:05 UTC

    I also asked this question on the london-pm list, and got some interesting replies, including a pointer to XML::DOM::BagOfTricks. So for the benefit of future searchers: my post.

    etiquette question: should I have updated my original node instead of replying to myself?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://522679]
Approved by wfsp
Front-paged by jdporter
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-12-02 08:34 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (37 votes), past polls