On Sat, Mar 19, 2005 at 11:13:05PM +0100, [EMAIL PROTECTED] wrote:
> Hi,
>
> 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="http://www.w3.org/1999/xhtml" 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 !
http://xmlsoft.org/wiki/index.php?title=Libxslt:FAQ
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
[EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml