Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
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 musing on the Monastery: (5)
As of 2014-12-28 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls