Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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


Comment on Re: XML::Twig basic handlers

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-11-28 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (193 votes), past polls