xsl-list
[Top] [All Lists]

[xsl] Simple rule program difficulties

2006-06-23 06:01:26

        <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 !




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Simple rule program difficulties, Man on the moon <=