Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 about the Monastery: (5)
As of 2015-07-05 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls