Re: Problem parsing namespaces with xml.dom.minidom

2005-01-18 Thread Mike McGavin
Hi Fredrik. Fredrik Lundh wrote: It wouldn't need to conform to the official specifications of the DOM API, but I guess I'm after some comparable functionality. [--snip--] sounds like this might be exactly what you need: http://effbot.org/zone/element-index.htm (it's also the fastest and most

Re: Problem parsing namespaces with xml.dom.minidom

2005-01-18 Thread Mike McGavin
Hi Fredrik. Fredrik Lundh wrote: I'm not terribly experienced with XML in general, so it's possible that I'm just incorrectly interpreting how things are supposed to work to begin with. If this is the case, please accept my apologies, but I'd like any suggestions for how I should be doing it. I

Problem parsing namespaces with xml.dom.minidom

2005-01-17 Thread Mike McGavin
Hi everyone. I've been trying for several hours now to get minidom to parse namespaces properly from my stream of XML, so that I can use DOM methods such as getElementsByTagNameNS(). For some reason, though, it just doesn't seem to want to split the prefixes from the rest of the tags when pars