Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: XML::Rules parsing inside out?

by runrig (Abbot)
on Dec 14, 2017 at 16:54 UTC ( #1205539=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1205539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2021-02-28 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?