"RokuKC" wrote:
roXMLElement.GetChildNodes() is only supported for devices running modern firmware.
This has been noted on the documentation.
And thank you for adding that note... eventually.
Version incompatibility was undocumented for four months. In the mean time i
discovered the method added to the docs and started using it -
all July i worked on a channel that depended on it, then beginning of August when testing on fw3, it turned out method is not there - and hence me crying in this thread. And so i had to go back to the drawing board and spend
most of August writing my own XML parser because of July's
sunk cost. Pardon me if i am unhappy with whoever added the method but "forgot" to note compatibility.
So was i right above that a
roXmlElement on fw3 cannot hold
both text and sub-elements, at the same time?
The unfortunate thing in that would be i won't be able to use the convenient "dot-filtering" abilities of
roXmlElement (i.e. do `xhtml.body.article.section.table.tr.td.div` to zero-in on the content i need) - and will have to re-invent the wheel for doing selection in the tree. Otherwise even if i have to do my own parsing, i could re-construct the result as roXmlElement/roXmlList and use dot-subsetting.