Hello,
I've got the following problem:
I've got an index xml file that refers to some other xml files like that:
<!-- index file -->
<index>
<entry><xml>X1</xml>...</entry>
<entry><xml>X2</xml>...</entry>
<entry><xml>X3</xml>...</entry>
... <!-- and others -->
</index>
<!-- X1.xml -->
<entry>
<item number="3" />
...
</entry>
<!-- X2.xml -->
<entry>
<item number="7" />
...
</entry>
<!-- X3.xml -->
<entry>
<item number="2" />
...
</entry>
The XSL file I have, belongs to the index file.
In the xsl file I can get each value of the attribute number like this:
<xsl:for-each select="index/entry">
<xsl:variable name="vXML"><xsl:value-of select="xml"
/>.xml</xsl:variable>
<xsl:variable name="vNumber"
select="document($vXML)/entry/item/@number" />
</xsl:for-each>
But my problem is, that I want to find the maximum of the attribute number / the
variable vNumber!
This value should become a global variable.
Does anyone has an idea?!
Thanks
BirgitZ
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/