Re: [xml] Removing a xmlns

On Sat, Mar 19, 2005 at 11:13:05PM +0100, alexis robert robertlan eu org wrote:

I'm working actually on a python library for DAISY books.

I've a little problem, this is an extract of the XHTML file (discinfo.html) :
<html xmlns=""; xml:lang="fr" lang="fr">

So, xpath doesn't want to eval /html/body/a.

How can I do for deleting this xmlns or fixing the problem ?

  Same misunderstanding of XPath query for namespaced node as a million
others have asked before check the FAQ !


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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