Код: Выделить всё
1
SRV_PARAM_CH_ENABLED
false
SW_PARAMETER_CH_LABEL
Я использую xml.dom.minidom< /code> и могу прочитать канал, используя:
Код: Выделить всё
import xml.dom.minidom
xml_doc = xml.dom.minidom.parse(path)
root = xml_doc.documentElement
chns = xml_doc.getElementsByTagName('channel')
for chn in chns:
idxx = chn.getElementsByTagName('index')
idx = idxx[0].childNodes[0].data # Gets ch number
Подробнее здесь: https://stackoverflow.com/questions/792 ... th-minidom
Мобильная версия