Closed elandorr closed 1 year ago
Hi
is it possible to keep the ns here?
<?xml version="1.0" encoding="UTF-8"?> <foo> <title>barfoo</title> <macroni:title>foobar</macroni:title> </foo>
The macroni is lost.
macroni
+p_xml: version="1.0" encoding="UTF-8" foo: title: - barfoo - foobar
I have a file that uses such a format, which means this borks:
yq -pxml -oy '.foo.title' fooo.xml - barfoo - foobar
Ideally it would only show the <title>.
<title>
Appreciate yq, really useful, thanks!
Sorry, that's the wrong repo. Same name. This might just apply to you as well, though :)
Hi
is it possible to keep the ns here?
The
macroni
is lost.I have a file that uses such a format, which means this borks:
Ideally it would only show the
<title>
.Appreciate yq, really useful, thanks!