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


in reply to Re: XML::Rules parsing inside out?
in thread XML::Rules parsing inside out?

XML::Rules is not a normal event based parser, one that would fire events at you and expect you to take care of any bookkeeping.
Depending on the XML and what I'm trying to do, sometimes I find it easier to use XML::Rules as a semi-event based parser by leveraging the start rules and setting global variables.

Replies are listed 'Best First'.
Re^3: XML::Rules parsing inside out?
by Jenda (Abbot) on Dec 18, 2017 at 18:34 UTC

    Whatever works. :-)

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