Get Element value with minidom with Python

前端 未结 9 2018
悲&欢浪女
悲&欢浪女 2020-11-29 18:01

I am creating a GUI frontend for the Eve Online API in Python.

I have successfully pulled the XML data from their server.

I am trying to grab the value from

9条回答
  •  醉酒成梦
    2020-11-29 18:43

    I had a similar case, what worked for me was:

    name.firstChild.childNodes[0].data

    XML is supposed to be simple and it really is and I don't know why python's minidom did it so complicated... but it's how it's made

提交回复
热议问题