Subject: Simple rule program difficulties
From: Man on the moon <manonthemoonz@xxxxxxxx>
Date: Fri, 23 Jun 2006 13:01:07 +0000 (GMT)
|
<xsl:choose>
<xsl:when test="condition = $Fact">
<xsl:call-template name="CheckRulesonFact">
<xsl:with-param name="Fact" select="action" />
<xsl:with-param name="Rules" select="$Rules" />
</xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:for-each>
<fact><xsl:value-of select="$Fact" /></fact>
</xsl:template>
</xsl:stylesheet>
The problem is that I cannot decide whenever the "<fact>" is written ...
So, does anyone see another way to write this program ?
Thank you very much for your help !
Best regards !
|