diff options
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()" } |