← Back to team overview

ubuntu-phone team mailing list archive

Re: Multiple nested levels in a QML XmlListModel

 

Ah, ok. Looks like I should have looked at your code. Having only read your email, I thought you wrote your own parser in JavaScript. Sorry for that. ;)

Am Mo, 20. Apr, 2015 um 8:53 schrieb Sam Bull <sam.hacking@xxxxxxxx>:
On lun, 2015-04-20 at 18:24 +0200, Niklas Wenzel wrote:
There's also the parsing mechanism of XmlHttpRequest. That's probably
 more reliable than any self-written parser. ;)

Is this not what I did? I used XmlHttpRequest to open the XML document,
and then started processing the file using
xhr.responseXML.documentElement, and just iterating through the child
nodes.

I'm not aware of any other way to do this...

References