Member function not found in BrightScript Component or interface. (runtime error &hf4) in ...zY/pkg:/source/somethingSomething.brs(175)
175: children = xml.GetChildNodes()
Function xhtml2text(xml As ) As
You would probably have to use GetChildElements() instead. since they are almost the same thing.
BrightScript Debugger> ? xml.parse("<x> a <b> c </b> d </x>")
BrightScript Debugger> ? xml.getChildElements()
'fair enough, array with 1 roXML
BrightScript Debugger> ? xml.getChildElements().genXML(0)
<b> c </b> 'as expected
BrightScript Debugger> ? ">" xml.getText() "<"
BrightScript Debugger> ? xml.genXML(0)
<x><b> c </b></x> 'WAT!
Answer from RokuCo, please?
Will getChildNotes() be coming to fw 3?
roXMLElement.GetChildNodes() is only supported for devices running modern firmware.
This has been noted on the documentation.