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

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?