http://www.perlmonks.org?node_id=819590


in reply to Re: XML Simple
in thread XML Simple

I like the look of XML::Rules, but I read the pod, rather than searching here. It looks like a smarter attempt at what I was going for in CQ.

-Paul

Replies are listed 'Best First'.
Re^3: XML Simple
by Jenda (Abbot) on Jan 25, 2010 at 23:42 UTC

    There's a few examples on PerlMonks and the explanation of the ideas that brought it to life. It seems to get to what you were after from a different angle and as such is probably better in different cases. In case you want just a fairly small subset of the data in the XML and XPath is a good way to select what you want, then CQ will most likely work better :-) If on the other hand you want a bigger part of the data and the resulting structure is more complex then the XML::Rules' style will probably end up being more readable. Plus it allows you to execute code at any level to trim or massage the data structure further.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.