note 109176 deleted from function.split by tularis

From: Date: Tue, 26 Jun 2012 12:20:31 +0000
Subject: note 109176 deleted from function.split by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188803@lists.php.net to get a copy of this message
Note Submitter: deutschland dot php at gmail dot com ---- <xsl:param name="art">C</xsl:param> <xsl:template match="weather"> <dt><xsl:value-of select="@measured"/></dt> <xsl:choose> <xsl:when test="$art='F'"> <dd><xsl:value-of select="((temperature*9) div 5 )+32"/> F</dd> </xsl:when> <xsl:otherwise> <dd><xsl:value-of select="temperature"/> <xsl:value-of select="temperature/@unit"/></dd> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:param name="isin"></xsl:param> <xsl:template match="/aktien"> <html> <head> <title>Aktien</title> </head> <body> <xsl:apply-templates select="aktie"/> </body> </html> </xsl:template> <xsl:template match="aktie"> <xsl:choose> <xsl:when test="(@isin = $isin) or ($isin = '')"> <p> Name: <xsl:value-of select="name"/><br/> Mittelwert: <xsl:value-of select="fn:format-number(sum(kurse/kurs/ausgabepreis) div count(kurse/kurs),'0.00')"/> </p> </xsl:when> </xsl:choose> </xsl:template> </xsl:stylesheet>

« previous php.notes (#188803) next »