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. Compare QDomNode value with QString value
Forum Updated to NodeBB v4.3 + New Features

Compare QDomNode value with QString value

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 154 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.
  • Q Offline
    Q Offline
    QtisHard
    wrote on last edited by
    #1
    This post is deleted!
    JonBJ 1 Reply Last reply
    0
    • Q QtisHard

      This post is deleted!

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @QtisHard
      Your code is OK, depends what you mean by "QDomNode value (elm)". elm.toElement().text() returns the whole of the textual content of the QDomElement. Show the QString text value you are comparing against, the XML document (or a relevant portion of it) and the output you get.

      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