Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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.

Jenda
Enoch was right!
Enjoy the last years of Rome.


Comment on Re^3: change setHandlers XML::Parser
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

    etlamar

      XML::Twig worked like a charm!

      Thanks again very much!

      etlamar

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-07-30 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls