Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How get a value from a xml element?
JaimeLeon last edited by
.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?
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