Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://799019]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2016-12-10 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (160 votes). Check out past polls.