>
> Yes, in fact:
>
> //[EMAIL PROTECTED]//*[name()!='section']
>
> would do the trick.
>
> I was trying to avoid using anything not in the standard Python
> distribution if I could help it; I need to be able to use my code on
> Linux, OS X and Windows.
>
> The xml.path package is from PyXML,
On Thu, 02 Jun 2005 14:34:47 +0200, "Diez B. Roggisch"
<[EMAIL PROTECTED]> said:
> > However, I got exactly the same problem: each time I use this function I
> > just get a DOM Text node with a few white space (tabs and returns) in
> > it. I guess this is the indentation in my source document? But
> However, I got exactly the same problem: each time I use this function I
> just get a DOM Text node with a few white space (tabs and returns) in
> it. I guess this is the indentation in my source document? But why do I
> not get the propert element nodes?
Welcome to the wonderful world of DOM, W