statement of problem
-----------------
There is such an XML file, which is about the price list, the content is as follows:
XML Version = "1.0" encoding = "UTF-8"?>
Products>
Products>
Price list>
The current demand is:
According to the "calculation expression" above (the user is given, it may change at any time) to find the value of each item.
Note: The above notebook is not the same as the calculation expression of the cup.
How to use C # automatically calculate the value of each item?
Idea:
(1) use XPath?
(2) Use dataset?
(3) Dynamic compilation, automatically calculate the value of the value of the expression to calculate the value, similar to the EVAl () in JavaScript.
(Endlessly)