Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to evaluate formula as defined in string

Status
Not open for further replies.

bordonbert

Programmer
Mar 30, 2009
1
GB
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.
 
If that "c++ formula parser class" is what you could--,my understanding would be: meaning not only you have the competence but also meaning that it integrates well with the application,--by all mean use it. (I limit my time to not more than the time spent on op posting the question.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top