Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Problem in parsing XML file using XMl::Twig

by davidrw (Prior)
on Aug 16, 2005 at 22:35 UTC ( #484264=note: print w/replies, xml ) Need Help??


in reply to Re^3: Problem in parsing XML file using XMl::Twig
in thread Problem in parsing XML file using XMl::Twig

Is there a way to create new Xml::Twig and set the handler later?
Looking at the POD (i haven't actually tried it) for XML::Twig it looks like you can use the setTwigHandlers ($handlers) method (note there are several set*Handler*() methods).

Replies are listed 'Best First'.
Re^5: Problem in parsing XML file using XMl::Twig
by ramya2005 (Scribe) on Aug 16, 2005 at 22:41 UTC
    I went through the XML::Twig help page and figured out the use of setTwigHandlers().
    But my problem still exists! The changes that I made to $filter_tree is not preserved, only the last change is seen outside the loop.
    Any help in fixing this will be much appreciated!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2023-02-02 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (17 votes). Check out past polls.

    Notices?