Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 twig start_tag_handlers, "by Anonymous Monk" twig start_tag_handlers, ?node_id=3989;BIT=use%20XML%3A%3ATwig;BIS=-;a=%5BAnonymous%20Monk%5D;xr=1,,

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2016-10-21 01:46 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (284 votes). Check out past polls.