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

2018-03-20 Thread gilles . quenot
Hi, I post many snippets with xmllint on stackoverflow and unix.stackexchange.com, but many times I'm stuck with this nice tool when it comes to retrieve N > 1 text node, because the output is not newline delimited (unlike xmlstarlet). Is there any workaround to have such delimiter in the ou

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

2018-03-20 Thread Nick Wellnhofer
On 20/03/2018 14:14, gilles.que...@sputnick.fr wrote: I post many snippets with xmllint on stackoverflow and unix.stackexchange.com, but many times I'm stuck with this nice tool when it comes to retrieve N > 1 text node, because the output is not newline delimited (unlike xmlstarlet). It's not