[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to dynamically evaluate an equation in the input X
Hi Folks, I have XML documents like this: <Convert-to-Celsius> <equation>(Fahrenheit - 32) * (5/9)</equation> <variable> <name>Fahrenheit</name> <value>32</value> </variable> </Convert-to-Celsius> The document contains an equation which might contain variables. If it does contain variables, then I need to fetch their values and replace the variables in the equation with their values and then compute the value of the equation. Have you done this kind of dynamic equation solving using XSLT? If so, how did you do it? Any suggestions on how to approach this problem would be appreciated. /Roger
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|