Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: XML::Twig Stream root children

by Skeeve (Vicar)
on Oct 03, 2009 at 15:46 UTC ( #799019=note: print w/replies, xml ) Need Help??

in reply to XML::Twig Stream root children

I currently don't have XML::Twig installed, but shouldn't a generic handler like

'/root/*' => \&process_child,

do? Simply create in "process_child" a new root element, cut the current element and insert it into your new root. Save the new root and that should be it.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://799019]
[stevieb]: one of my long-running Perl procs crashes with a segfault (because it wraps C code) is crashing after an hour or so... seeing if wrapping the cli call with valgrind will produce something useful

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-04-29 03:14 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.