I have an XML file that contains a structure with loops and booleans expressions, but as this XML file is always changing, as the data comes from a user-defined workflow.
and I need to interpret this to be then processed on C++, and I'm not sure how this can be achieved
I would like to know if someone can point me in the right direction on how to solve this issue
Right: there's your starting place. There are plenty of tutorials on interpretation available on the net.
The XML format merely describes tortured S-expressions: the notation used for Lisp programs. Such notations make the tree structure of the source code self-evident.
There already exist many industrial-strength XML parsers like Xerces.