diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-06-29 04:40:34 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-06-29 04:40:34 (GMT) |
commit | 3d725363a43d408e1f57292fc54ab2925529fa6e (patch) | |
tree | 981d9e9f3f33aabb3567bbbf99224215dfbfcdd6 /examples/declarative/xmldata/daringfireball.qml | |
parent | 271c4ea851b71ddc346ab5b7d251c61e5e44c424 (diff) | |
download | Qt-3d725363a43d408e1f57292fc54ab2925529fa6e.zip Qt-3d725363a43d408e1f57292fc54ab2925529fa6e.tar.gz Qt-3d725363a43d408e1f57292fc54ab2925529fa6e.tar.bz2 |
Cleanup, fixes, and basic docs for XmlListModel.
Diffstat (limited to 'examples/declarative/xmldata/daringfireball.qml')
-rw-r--r-- | examples/declarative/xmldata/daringfireball.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/xmldata/daringfireball.qml b/examples/declarative/xmldata/daringfireball.qml index b14dfbf..6f3461e 100644 --- a/examples/declarative/xmldata/daringfireball.qml +++ b/examples/declarative/xmldata/daringfireball.qml @@ -6,17 +6,17 @@ Rect { XmlListModel { id: feedModel source: "http://daringfireball.net/index.xml" - query: "doc($src)/feed/entry" + query: "/feed/entry" namespaceDeclarations: "declare default element namespace 'http://www.w3.org/2005/Atom';" - Role { + XmlRole { name: "title" query: "title/string()" } - Role { + XmlRole { name: "tagline" query: "author/name/string()" } - Role { + XmlRole { name: "content" query: "content/string()" } |