[xml] xmllint -shell and namespaces


With the latest libxml2-2.4.0, if I run 'xmllint -shell' on a file that

  <foo:bar xmlns:foo="http://foo.com";>Hello, World</foo:bar>

I can't seem to be able to navigate to the 'foo:bar' node with either
the 'cd foo:bar' (Undefined namespace prefix) or the 'cd bar' command
(bar is a 0 Node Set).  What's the proper way to get into that node?

Weiqi Gao
weiqigao networkusa net

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