Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativexmllistmodel / data / recipes.qml
1 import QtQuick 1.0
2
3 XmlListModel {
4     source: "recipes.xml"
5     query: "/recipes/recipe"
6     XmlRole { name: "title"; query: "@title/string()" }
7     XmlRole { name: "picture"; query: "picture/string()" }
8     XmlRole { name: "ingredients"; query: "ingredients/string()" }
9     XmlRole { name: "preparation"; query: "method/string()" }
10 }