Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: change setHandlers XML::Parser

by Jenda (Abbot)
on Oct 20, 2012 at 09:00 UTC ( #1000114=note: print w/replies, xml ) Need Help??

in reply to Re^2: change setHandlers XML::Parser
in thread change setHandlers XML::Parser

You can ask XML::Twig to give you just the tag(s) you are interested in (twig_root) and handle them by a custom subroutine. Or you can have a look at XML::Rules and basically do the same. Or if you were so inclined use XML::LibXML::SAX.

Enoch was right!
Enjoy the last years of Rome.

Replies are listed 'Best First'.
Re^4: change setHandlers XML::Parser
by etlamar (Novice) on Oct 20, 2012 at 11:24 UTC

    Thanks very much to you both. I will try XML::Twig. I might come back with additional posts if I get stumped, but it sounds like that module will do the trick.

    Thanks again


      XML::Twig worked like a charm!

      Thanks again very much!


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2016-10-28 22:36 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.