Re: Is there a solution to have newline delimited output for xmllint ?
Nick Wellnhofer <[email protected]> Sun, 23 Sep 2018 13:23:44 +0200
| Newsgroups | gmane.comp.gnome.lib.xml.general |
|---|---|
| Message-ID | <[email protected]> |
On 20/03/2018 16:45, Nick Wellnhofer wrote:
> I agree that printing text nodes without a separator is rather useless and I
> always found it annoying that the output isn't terminated with a newline at
> all. In this case, I'm not too concerned about backward compatibility and I'd
> simply change the `--xpath` output to always print a newline after each node,
> text or not.
This should be resolved now:
https://gitlab.gnome.org/GNOME/libxml2/commit/da35eeae5b92b88d8ebdb64b4b327ac1c2cf1bce
Also see the discussion here:
https://gitlab.gnome.org/GNOME/libxml2/merge_requests/8
Nick