Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Max calculation with non-standard XML Max calculation with non-standard XMLTo: NULL Date: 6/14/2007 7:32:00 AM Firstly apologies about the cryptic title I could not think of a better way to explain it. I am output XML [example below], which is transformed into an Excel like web page, which works fine. I also plot a graph, using html, of a selected column. My problem is that due to the way I construct my XML I cannot figure out how to get the maximum value for a particular column. Which I can then use to scale the graph. So I would have a param value set to 2, indicating the Cell in second position [AKA Column 2] would then be plotted in the graph. [ I use javascript to modify the param ]. Can anyone help me find the maximum value of all Cells in all Rows in position X. Or suggest a better method overall. THANKYOU! XML: <Report> <Row> <Cell>1</Cell> <Cell>5</Cell> <Cell>3</Cell> <Cell>10</Cell> <Cell>11</Cell> <Cell>2</Cell> </Row> <Row> <Cell>1</Cell> <Cell>5</Cell> <Cell>3</Cell> <Cell>10</Cell> <Cell>11</Cell> <Cell>2</Cell> </Row> </Report> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
