had posted the question before concerning counting; am looking for a way of how to come up with the average height of the international and as well a high-low function displaying the height from the tallest to smallest…
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="soccer.xslt"?>
<footballclub>
<player>
<based>international</based>
<height>5.5</height >
<build>medium</build>
<age>24</age>
</player>
<player>
<based>local</based>
<height>5.5</height >
<build>medium</build>
<age>24</age>
</player>
<player>
<based>international</based>
<height>5.5</height >
<build>medium</build>
<age>24</age>
</player>
<player>
<based>local</based>
<height>5.5</height >
<build>medium</build>
<age>24</age>
</player>
<player>
<based>local</based>
<height>7.5</height >
<build>medium</build>
<age>34</age>
</player>
<player>
<based>international</based>
<height>5.9</height >
<build>large</build>
<age>26</age>
</player>
</footballclub>
This transformation:
when applied on the provided XML document:
produces the wanted, correct result: