I don’t really know much about XML, however there are some built in XML functions with flash MX at least.
You might find you have a problem using the ‘-’ as part of your variable name though. In your example how would the computer know that you don’t want to subtract two different variables from one another as opposed to them being one thing?