K
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: [<DOM Element: LLobjectID at 0x13cba08>] which I
can get down to <DOM Element: LLobjectID at 0x13cba08> but then I
can't find any way to just get the value out from the thing!
..toxml() returns something like: u'<LLobjectID><![CDATA[1871203]]></
LLobjectID>'.
How do I just get the 1871203 out of the DOM Element?
Thanks,
dom.getElementsByTagName('LLobjectID') to work to the point where I
get something like: [<DOM Element: LLobjectID at 0x13cba08>] which I
can get down to <DOM Element: LLobjectID at 0x13cba08> but then I
can't find any way to just get the value out from the thing!
..toxml() returns something like: u'<LLobjectID><![CDATA[1871203]]></
LLobjectID>'.
How do I just get the 1871203 out of the DOM Element?
Thanks,