Results 1 to 2 of 2

Thread: problem while retrieve data from XML

  1. #1
    Join Date
    Jul 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default problem while retrieve data from XML

    Currently the XmlListModel is the only element available for reading XML data. This is useful for creating a model from XML data, but does not work well for nested XML list data (since this requires using nested XmlListModels) and also doesn't fit the task if the application only requires some piece of data from the XML, and not a complete model.


    so i have a XML File and i want to view it in sequences when the user click the first sub_category just show the item for the first sub_category not for all etc.... for all sub_category ?


    How to solve this problem using QML ?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: problem while retrieve data from XML

    Currently the XmlListModel is the only element available for reading XML data.
    Hah?
    http://doc.qt.nokia.com/latest/xml-tools.html
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 20
    Last Post: 22nd July 2010, 08:35
  2. Replies: 0
    Last Post: 21st July 2010, 22:55
  3. Replies: 0
    Last Post: 19th September 2009, 08:07
  4. Sql Server cannot retrieve data from select
    By Atomino in forum Qt Programming
    Replies: 10
    Last Post: 7th September 2006, 17:37
  5. [QT4 & XP] retrieve data from QTreeView's model
    By incapacitant in forum Newbie
    Replies: 1
    Last Post: 2nd March 2006, 14:02

Tags for this Thread

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.