Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Max calculation with non-standard XML

From: m0nkeymafia <m0nkeymafia@-------.--.-->
To: 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>



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent