[Qt-qml] Error querying root item of XmlListModel
Girish Ramakrishnan
girish at forwardbias.in
Mon Oct 17 17:25:17 CEST 2011
Hi,
Someone on irc was having trouble with the XmlListModel and I was
trying to help him/her out. I don't know xquery/xpath well enough to
know if this is a problem with my example or xmlpatterns. So, I
reduced the problem to this: http://pastebin.com/Gdmc2Gzq works but
http://pastebin.com/pMnvFYQQ doesn't. Basically, if I query anything
directly under the root element, XmlListModel just reports an error.
Querying any level one below the root element, it works fine.
Girish
More information about the Qt-qml
mailing list