note 109152 added to install.macosx
| From: | deutschland dot php at gmail dot com | Date: | Sun, 24 Jun 2012 08:19:00 +0000 |
| Subject: | note 109152 added to install.macosx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188771@lists.php.net to get a copy of this message | ||
<xsl:param name="ausrichtung">right</xsl:param>
<xsl:template match="/buchhandel">
<html>
<head>
<title>baam</title>
<style>
.reisen {background-color: green;}
</style>
</head>
<body>
<xsl:apply-templates select="buch"/>
</body>
</html>
<!--
<xsl:apply-templates select="buch">
<xsl:sort select="preis" data-type="number"/>
</xsl:apply-templates>
-->
<!--
<xsl:for-each select="buch">
<xsl:sort select="buchtitel" data-type="text"/>
<p><xsl:value-of select="buchtitel"/><xsl:text>
</xsl:text></p>
</xsl:for-each>
-->
<!--
<xsl:for-each-group select="buch" group-by="buchverlag">
<p><b><xsl:value-of
select="current-grouping-key()"/></b></p>
<p><xsl:value-of select="current-group()/buchtitel" separator=",
"/></p>
</xsl:for-each-group>
-->
</xsl:template>
<!--
<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>
----
Server IP: 212.124.37.9
Probable Submitter: 143.93.181.107
----
Manual Page -- http://www.php.net/manual/en/install.macosx.php
Edit -- https://master.php.net/note/edit/109152
Del: integrated -- https://master.php.net/note/delete/109152/integrated
Del: useless -- https://master.php.net/note/delete/109152/useless
Del: bad code -- https://master.php.net/note/delete/109152/bad+code
Del: spam -- https://master.php.net/note/delete/109152/spam
Del: non-english -- https://master.php.net/note/delete/109152/non-english
Del: in docs -- https://master.php.net/note/delete/109152/in+docs
Del: other reasons-- https://master.php.net/note/delete/109152
Reject -- https://master.php.net/note/reject/109152
Search -- https://master.php.net/manage/user-notes.php