Results 1 to 4 of 4

Thread: XMLlist Model with http request

  1. #1
    Join Date
    Aug 2010
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default XMLlist Model with http request

    Hi,

    I am very much new to Qt Quick.

    I want to implement an application in which I need to fetch an XML file from HTTP server and parse it out to fetch some information from it.

    I have heard that It can be implemented using XMLList Model and Listview

    Can anyone please show me one simple example using this.

    Any help will be highly appreciated.

    Regards,
    Sanket Mehta

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: XMLlist Model with http request

    XMlListModel: open, scroll down, read.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2010
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: XMLlist Model with http request

    HI Wysota,

    Thanks for reply man.

    I have went through it and I have faced one problem regarding "namespacedeclaration" in XMLListModel.

    What does "namespacedeclaration" stand for?

    I have more than one declaration in my XML file. How I am supposed to write "namespacedeclaration" in XMLListModel in that case?

    Thanks in advance.

    Regards,
    Sanket

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: XMLlist Model with http request

    Quote Originally Posted by sanket.mehta View Post
    I have went through it and I have faced one problem regarding "namespacedeclaration" in XMLListModel.

    What does "namespacedeclaration" stand for?

    I have more than one declaration in my XML file. How I am supposed to write "namespacedeclaration" in XMLListModel in that case?
    decl1;decl2;decl3;...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Http request encoding
    By Trok in forum Qt Programming
    Replies: 2
    Last Post: 30th September 2011, 00:15
  2. Http request
    By kars in forum Newbie
    Replies: 3
    Last Post: 31st August 2011, 10:15
  3. HTTP request
    By Trok in forum Qt Programming
    Replies: 9
    Last Post: 5th January 2010, 14:49
  4. problem with Synchronous Http request
    By rchaitanya in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 30th January 2009, 11:03
  5. http request
    By yagabey in forum Qt Programming
    Replies: 3
    Last Post: 28th December 2008, 19:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.