good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Modify XML tagsby Anonymous Monk |
on May 30, 2013 at 02:03 UTC ( [id://1035944]=note: print w/replies, xml ) | Need Help?? |
I don't think you need the end_tag_handlers handler though, the start one should be enough. You could also flush at the end of the handler to save memory, if that's an issue (untested). Flushing in start_tag handler doubles the output <note chop="SuEy" kung="FoO"></note> but end_tag_handlers => { _all_ doesn't get called at all so nothing gets flushed until the whole tree is parsed Is this by design of end_tag_handlers?
In Section
Seekers of Perl Wisdom
|
|