Re: [xml] Is there a solution to have newline delimited output for xmllint ?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]