in reply to XML::LibXML unbindNode leaves blank lines in the xml file
the answer may be here http://www.perlmonks.org/?node_id=830411 courtesy of ikegami
my $parser = XML::LibXML->new(); $parser->keep_blanks(0); ... my $changed = $dom->toString(1);
I take no credit for this answer other than having been looking for the same answer for a couple of days before finding it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML unbindNode leaves blank lines in the xml file
by Anonymous Monk on Jan 25, 2017 at 10:09 UTC |