Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 exploiting the Monastery: (7)
As of 2014-08-01 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls