Re: How do I get the value out of a DOM Element

2007-09-27 Thread Stefan Behnel
kj7ny wrote: > Forgot to mention I'm using Python 2.4.3. You can install both lxml and ET on Python 2.4 (and 2.3). It's just that ET went into the stdlib from 2.5 on. Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I get the value out of a DOM Element

2007-09-27 Thread kj7ny
Forgot to mention I'm using Python 2.4.3. -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I get the value out of a DOM Element

2007-09-27 Thread Paul Boddie
On 27 Sep, 07:50, kj7ny <[EMAIL PROTECTED]> wrote: > I have been able to get xml.dom.minidom.parse('somefile.xml') and then > dom.getElementsByTagName('LLobjectID') to work to the point where I > get something like: [] which I > can get down to but then I > can't find any way to just get the value

Re: How do I get the value out of a DOM Element

2007-09-27 Thread Stefan Behnel
kj7ny wrote: > I have been able to get xml.dom.minidom.parse('somefile.xml') and then > dom.getElementsByTagName('LLobjectID') to work to the point where I > get something like: [] which I > can get down to but then I > can't find any way to just get the value out from the thing! > > .toxml() ret

How do I get the value out of a DOM Element

2007-09-26 Thread kj7ny
I have been able to get xml.dom.minidom.parse('somefile.xml') and then dom.getElementsByTagName('LLobjectID') to work to the point where I get something like: [] which I can get down to but then I can't find any way to just get the value out from the thing! .toxml() returns something like: u''.