Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: how to remove an empty line from a xml file??by Corion (Patriarch) |
on Oct 01, 2016 at 09:13 UTC ( [id://1173063]=note: print w/replies, xml ) | Need Help?? |
In the code you already wrote yourself, you use the method ->removeChild. This method is just as applicable for text nodes as it is for other nodes. Maybe now is a really good moment to familiarize yourself with XML and the DOM?
In Section
Seekers of Perl Wisdom
|
|