aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickxmllistmodel/data/testtypes.qml
blob: 5ec1ffa35f10f48a60e2a4c30bc2be504b6592ac (plain)
1
2
3
4
5
6
7
8
import QtQuick 2.0
import QtQuick.XmlListModel 2.0

XmlListModel {
    query: "/data"
    XmlRole { name: "stringValue"; query: "a-string/string()" }
    XmlRole { name: "numberValue"; query: "a-number/number()" }
}