4 ms·
Just be aware that xmllint cleans up XML as well as formatting it, which can in rare circumstances cause some confusion. So if the incoming XML had an empty ta
by _djo_ 15y ago
Just be aware that xmllint cleans up XML as well as formatting it, which can in rare circumstances cause some confusion.
So if the incoming XML had an empty tag specified as <tag></tag> xmllint will turn it into <tag/>. If you're specifically looking for <tag></tag> for some reason, then that could trip you up.
Shouldn't matter 99% of the time though.