parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Тогда...

shurgalin 30.06.2005 11:47

<xsl:template match="forecast[@tod=0]">
<xsl:variable name="date" select="@day"/>
<xsl:if test="../forecast[@date='$date' and @tod=2]">
<xsl:variable name="tod0" select="concat(temperature/@min),'-',temperature/@max)"/>
<xsl:variable name="tod2" select="concat(../forecast[@date='$date' and @tod=2]/temperature/@min),'-',../forecast[@date='$date' and @tod=2]/temperature/@max)"/>
<!-- вывод строки -->
</xsl:if>
</xsl:template>