Discussion Board

Results 1 to 7 of 7

Threaded View

  1. #1
    Regular Contributor useryy2's Avatar
    Join Date
    Apr 2011
    Posts
    89
    Usually, we say
    Code:
        XmlListModel {
            id: aModel
            source: "content/source.xml"
            query: "/rss/channel/item"
    
            XmlRole { name: "title"; query: "title/string()" }
            XmlRole { name: "link"; query: "link/string()" }
        }
    
            ListView {
                id: list
                width: parent.width; height: window.height
                model: aModel
                delegate: Text {
                    text: "title is: " + title;
                }
            }
    I've got the XmlListModel status 1 (ready), but there is nothing on screen. Why?
    Last edited by useryy2; 2011-07-07 at 09:19.

Similar Threads

  1. How to call/load another QML file from QML ?
    By cadlg in forum [Archived] Qt Quick
    Replies: 5
    Last Post: 2011-07-28, 09:15
  2. How to use QFileDialog or another way for file browsing in QML UI ?
    By magpielover in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-05-12, 08:04
  3. How to load local XML file in Flash Lite that is embedded in a WRT Widget?
    By kvirtanen in forum [Archived] Flash Lite on Nokia Devices
    Replies: 3
    Last Post: 2010-04-06, 10:14
  4. Read local xml file
    By mic3000 in forum Symbian Web Runtime
    Replies: 8
    Last Post: 2010-01-20, 15:22
  5. Browser plug-in for local file system access + for none open source
    By qmei in forum Mobile Web Site Development
    Replies: 2
    Last Post: 2008-08-20, 08:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved