Re: [xml] [python] DOM object from file with parsing options



On Mon, Jun 30, 2008 at 04:01:26PM +0200, Nicolas Mazziotta wrote:
When I create the parser, configure it and run it on my test.xml file, it 
parses well, but xpath queries all return nothing, except for queries that 
use no tag name ("/", "/*/*" and the like). Any idea about what goes wrong?

  You don't understand XPath processing when you have a default namespace in
your document.

The contents of this e-mail, including any attachments, are confidential and 
are intended for the sole use of the individual or entity to which it is 
addressed. Any distribution, copying or dissemination of this message is 

  The content of your email is incompatible with the use of this mailing-list
remove this sentence for any further communication on this list.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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