bordonbert
Programmer
Hi.
I'm very new to advanced XML work and have a specific need. I have data including numerical values extracted from XML. In the XML is an attribute which is basically a formula defined as a single text string. I have to find a way of evaluating the formula with values from the rest of the data. The only step which I am unable to fulfil is that step of going from a string expression to parsing it for the result.
I could do this with a simple C++ formula parser class but I can't help thinking that there must be a simple way to do this directly from the XML if I have the right tool. At the moment I am using Xerces and have XQilla available too.
Many thanks.
I'm very new to advanced XML work and have a specific need. I have data including numerical values extracted from XML. In the XML is an attribute which is basically a formula defined as a single text string. I have to find a way of evaluating the formula with values from the rest of the data. The only step which I am unable to fulfil is that step of going from a string expression to parsing it for the result.
I could do this with a simple C++ formula parser class but I can't help thinking that there must be a simple way to do this directly from the XML if I have the right tool. At the moment I am using Xerces and have XQilla available too.
Many thanks.