Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
go ahead... be a heretic
 
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


Comment on Re: XML::Twig Stream root children
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-04-21 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls