xmllint failing to properly query with xpath
问题 I'm trying to query an xml file generated by adium. xmlwf says that it's well formed. By using xmllint's debug option i get the following: $ xmllint --debug doc.xml DOCUMENT version=1.0 encoding=UTF-8 URL=doc.xml standalone=true ELEMENT chat default namespace href=http://purl.org/net/ulf/ns/0.4-02 ATTRIBUTE account TEXT content=foo@bar.com ATTRIBUTE service TEXT compact content=MSN TEXT compact content= ELEMENT event ATTRIBUTE type Everything seems to parse just fine. However, when I try to