|
Subject: [xsl] xsl:sequence From: "tom tom" <tomxsllist@xxxxxxxxxxx> Date: Mon, 07 Aug 2006 10:34:08 +0100 |
<xsl:variable name="prices" as="xs:decimal*">
<xsl:for-each select="//product">
<xsl:choose>
<xsl:when test="@price">
<xsl:sequence select="@price"/>
</xsl:when>
<xsl:otherwise>
<xsl:sequence select="@cost * 1.5"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:variable>
<xsl:value-of select="avg($prices)"/>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] RE: Detecting table columns w, Miranda Wageman | Thread | Re: [xsl] xsl:sequence, David Carlisle |
| Re: [xsl] Find whether nodeset cont, Florent Georges | Date | Re: [xsl] XPath 2.0 Datatypes names, tom tom |
| Month |