Important: Please read the Qt Code of Conduct -

How get a value from a xml element?

  • .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?

  • Qt Champions 2017

    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

Log in to reply