Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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
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 scrutinizing the Monastery: (7)
As of 2014-09-23 01:41 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (210 votes), past polls