Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: XML::Twig basic handlers

by Anonymous Monk
on Aug 02, 2012 at 23:53 UTC ( #985123=note: print w/replies, xml ) Need Help??


in reply to XML::Twig basic handlers

How do you write basic start_element, character, end_element handler events in XML::Twig similar to how it is done in XML::Parser

you don't, twig takes care of that for you, you process documents by branches(twigs), not by start-tag-handler/char-handler/end-tag-handler

But if you insist, see start_tag_handlers/char_handler/end_tag_handlers

See site:perlmonks.org twig start_tag_handlers, site:perlmonks.org "by Anonymous Monk" twig start_tag_handlers, ?node_id=3989;BIT=use%20XML%3A%3ATwig;BIS=-;a=%5BAnonymous%20Monk%5D;xr=1, http://xmltwig.org/tutorial/, http://xmltwig.org/article

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985123]
help
Chatterbox?
[choroba]: command line FTW!
[marto]: good morning all, sane dots all round
[Corion]: Hi marto! I hope all is well!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2016-12-07 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.