Integrating Xquery into my C++ program
-
hey there,
How can I integrate XQuery into my Qt C++ program. Can I mix it with the Qt C++ in a .cpp file or do I have to link it in somehow. I am trying to take data from an XML file and send it to a Qt c++ program/slot. I was intending to use XQuery to extract the data and send it to the C++. How can I do these things?
-
Hi,
I haven't used that yet but isn't "QXmlQuery":http://qt-project.org/doc/qt-5/qxmlquery.html what you are looking for ?
-
Are you thinking of something like "this":http://qt-project.org/doc/qt-5/qxmlquery.html#evaluateTo-4 ?
-
You'll have to convert the values you get from your xml to the correct format.