[xsl] Simple problem - complicated solution

Subject: [xsl] Simple problem - complicated solution
From: Antonio Fiol <fiol@xxxxxxxxxx>
Date: Thu, 16 May 2002 19:02:55 +0200
Hello, I have an XML document that contains:

<datum value="123"/>
<datum value="234"/>
<datum value="99"/>
<!-- Some more data... -->

I wish to use a XSLT document to output:

<min value="99" />
<max value="234" />
<avg value="..." />

This does not seem too complicated, but I cannot figure how to do it.

I do not mind if I have to rewrite my question in terms of:


and my answer as:


Thank you very much in advance.

Antonio Fiol

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread