Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to pass QStringList to QXmlQuery?

How to pass QStringList to QXmlQuery?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amahta
    wrote on last edited by
    #1

    I'm trying to create an xml file with some nodes that contain a few attributes. I need to pass attribute values using QStringList or any kind of sequence.
    Any ideas?

    Thou shalt programme
    http://www.amin-ahmadi.com

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gorbatschow
      wrote on last edited by
      #2

      If I understand you correctly, you need to get some values ​​from the XML file.
      Look first this xml parser example:
      http://developer.nokia.com/community/wiki/QXmlStreamReader_to_parse_XML_in_Qt

      1 Reply Last reply
      0
      • A Offline
        A Offline
        amahta
        wrote on last edited by
        #3

        No, unfortunately you missed it. I'm not reading any XMLs. I'm populating XMLs using XQueries (QXmlQuery), but thanks for trying.

        Thou shalt programme
        http://www.amin-ahmadi.com

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved