note 109178 deleted from function.split by tularis

From: Date: Tue, 26 Jun 2012 12:20:46 +0000
Subject: note 109178 deleted from function.split by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188805@lists.php.net to get a copy of this message
Note Submitter: deutschland dot php at gmail dot com ---- <!-- <xsl:template match="buch"> <xsl:element name="p"> <xsl:attribute name="class" select="@kat" /> <xsl:value-of select="buchtitel"/><xsl:text> </xsl:text> <xsl:value-of select="buchverlag"/><xsl:text> </xsl:text> <xsl:value-of select="preis"/> </xsl:element> </xsl:template> --> <!-- mit parameter <xsl:template match="buch"> <p style="text-align:{$ausrichtung}"> <xsl:value-of select="buchtitel"/><xsl:text> </xsl:text> <xsl:value-of select="buchverlag"/><xsl:text> </xsl:text> <xsl:value-of select="preis"/> </p> </xsl:template> --> <xsl:template match="buch"> <p> <xsl:value-of select="buchtitel"/><xsl:text> </xsl:text> <xsl:value-of select="buchverlag"/><xsl:text> </xsl:text> <xsl:call-template name="preis_template"> <xsl:with-param name="preis" select="preis"/> </xsl:call-template> </p> </xsl:template> <xsl:template name="preis_template"> <xsl:param name="preis"/> <xsl:choose> <xsl:when test="preis/@waehrung='Dollar'"> <xsl:value-of select="format-number($preis*0.68054,'0.00')"/> EUR (<xsl:value-of select="$preis"/> Dollar) </xsl:when> <xsl:otherwise> <xsl:value-of select="$preis"/> EUR </xsl:otherwise> </xsl:choose> </xsl:template>

« previous php.notes (#188805) next »