enigma2  2.6
Functions
Tools.XMLTools Namespace Reference

Functions

def elementsWithTag (el, tag)
 
def mergeText (nodelist)
 
def stringToXML (text)
 

Function Documentation

◆ elementsWithTag()

def Tools.XMLTools.elementsWithTag (   el,
  tag 
)
filters all elements of childNode with the specified function
example: nodes = elementsWithTag(childNodes, lambda x: x == "bla")

◆ mergeText()

def Tools.XMLTools.mergeText (   nodelist)

◆ stringToXML()

def Tools.XMLTools.stringToXML (   text)