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 get a value from a xml element?
Forum Updated to NodeBB v4.3 + New Features

How get a value from a xml element?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 502 Views
  • 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.
  • J Offline
    J Offline
    JaimeLeon
    wrote on last edited by
    #1

    .Hi guys. I'm going to do a little Qt project where a get a number value from a xml element and do a math basics operations. I've been looking for a way with the Qt documentation but I still do not understand how i can do. Would somebody show me a simple example how can I do it?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      I'm assuming that you know how the XML & you have defined your own xml tag. You can look at QDomDocument class in Assistant. It has one small example on how to read and parse the XML document

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      4

      • Login

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