in reply to Re^4: how to remove an empty line from a xml file??
in thread how to remove an empty line from a xml file??
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?
|
|---|