Hi
I need to remove the empty line which is created due to deletion of data element in the xml file to achieve the ideal modified xml file. how can I do that? any suggestions?
The empty line is just another child XML::DOM::Node , no not an element, but XML::DOM::Text node, a child of $item, a sibling to $data,
So ->getChildNodes and ->removeChild as you require
In reply to Re: how to remove an empty line from a xml file??
by beech
in thread how to remove an empty line from a xml file??
by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |