Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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
[1nickt]: Discipulus Sorry had no time before. ++Test::Warn, but also simply Capture::Tiny to capture everything and examine it. Or just Test::Exception:: dies_ok().

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-01-22 13:09 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.