Parsing XML on the fly

webmasterbeta

New Member
I have a question about parsing an XML document with javascript and updating user inputs.
Example:

|- A --- B --- C -|
|-----|2.00|-----|
|-----------------|
|-----|2.04|-----|
|-----------------|

In the spreadsheet above:
Column A - Present year (2004) factor = 00.0
Column B - 2005; factor = .02
Column C - 2006; factor = .10

If the user inputs 2 into column B, then the new value should be what the user added plus the factor of that year.
2 x .02 = 2.04. So 2, which the user entered, should become 2.04.

The XML should look like:

<rowWithFactorApplied year="2005" factor=".02" value=http://www.webdeveloper.com/forum/archive/index.php/"" />

Any ideas about how to do this without using Active X objects??
 
Back
Top