Much of Re^5: error : can't locate object method "getAttribute" via package XML::DOM::NodeList still applies, except now it's even code you've written yourself already, to remove a child node. Maybe add to that code more code to remove other child nodes.
In reply to Re^3: how to remove an empty line from a xml file??
by Corion
in thread how to remove an empty line from a xml file??
by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |