On 2019-12-21 22:17, Liam R. E. Quin wrote> ...
> It would be worth adding,
> --xmlns:a=" [uri here] "
> to xmllint.
That would be a good solution. Another solution could be to have the
*setrootns* from the shell available as an option.
> In the meantine you can use, e.g.
> //*[local-name()
On 2019-12-21 09:28, Daniel Veillard wrote:
> On Fri, Dec 20, 2019 at 12:46:23PM +0100, Gökçe Aydos wrote:
>> I use xmllint in my command-line scripts. The default mode of xmllint
>> does not support namespaces, so when I must deal with XML files with
>> namespaces I use the --shell mode of xmllint
On Fri, Dec 20, 2019 at 12:46:23PM +0100, Gökçe Aydos wrote:
> I use xmllint in my command-line scripts. The default mode of xmllint
> does not support namespaces, so when I must deal with XML files with
> namespaces I use the --shell mode of xmllint.
That sounds ... wrong
> I noticed that the
I use xmllint in my command-line scripts. The default mode of xmllint
does not support namespaces, so when I must deal with XML files with
namespaces I use the --shell mode of xmllint.
I noticed that the xpath command in the shell behaves differently than
the *xmllint --xpath* on the command line.