For XML like

<event>
    <from>
        <time>7</time>
    </from>
    <to>
        <time>18</time>
    </to>
</event>

I'd like to calculate the events temporal duration. Logically, something

like

 <xsl:template match="event">
    <p><b>Duration: </b><xsl:substract(to/time,from/time) /></p>
  </xsl:template>

but I can't find examples of the substract function (or whatever its
called if indeed there is something comparable)

thanks

--
Paul Madsen
Coventus Intuitive Networks
340 Terry Fox Drive, Kanata, On, Ca
K2K 3A2
e) [EMAIL PROTECTED]
p) (613) 271-0180 x296


Reply via email to