note 107213 deleted from function.xslt-set-scheme-handlers by danbrown

From: Date: Tue, 17 Jan 2012 18:05:15 +0000
Subject: note 107213 deleted from function.xslt-set-scheme-handlers by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185676@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- <xsl:stylesheet version="2.0" <xsl:output method="xhtml"/> <xsl:param name="isin"> </xsl:param> <xsl:template match="/aktien"> <html> <head> <title></title> <meta charset="utf-8"/> </head> <body> <xsl:for-each select="aktie"> <p>Name: <xsl:value-of select="name"/><br/> <xsl:choose> <xsl:when test="$isin=''"> Mittelwert: <xsl:value-of select="format-number(sum(kurse/kurs/ausgabepreis) div count(kurse/kurs/ausgabepreis),'0.00')"/> </xsl:when> <xsl:otherwise> <xsl:if test="$isin=@isin"> Mittelwert: <xsl:value-of select="format-number(sum(kurse/kurs/ausgabepreis) div count(kurse/kurs/ausgabepreis),'0.00')"/> </xsl:if> </xsl:otherwise> </xsl:choose> </p> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>

« previous php.notes (#185676) next »