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?
Qt 6.11 is out! See what's new in the release blog

How to pass QStringList to QXmlQuery?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.2k 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.
  • ? Offline
    ? Offline
    A Former User
    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?

    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
      • ? Offline
        ? Offline
        A Former User
        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.

        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