How to access a XmlListModel roles without any kind of View?

XmlListModel {
    id: xkcdModel
    source: "http://xkcd.com/100/";;

    XmlRole { name: "image"; query: "/title/text()" }
}

Text {
     text: xkcdModel.get(0).image
}

I really need to create a View? There is a better way to do it?

Thanks

Daker Fernandes Pinheiro (dfp)
Graduando em CC, turma 2007.2
CIn - UFPE
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to