T
tldisbro
Hello All,
I am trying to use the returned value of the <fo
age-number>
element/function in my <xsl:if> test condition. But am unsuccessful in
doing so. Is it possible to use it in this fashion with a conversion
or correct syntax? I would like to test the current page number and
see if it is even or odd - and if it is odd I would like to perform
additional steps. I would like to do something like this (assume all
namespaces are set):
<xsl:if test="<fo
age-number/>%2">
<xsl:text> Page </xsl:text> <fo
age-number/>
</xsl:test>
But of coarse the test condition does not want to deal with an
fo:function return value and I just want to do a Modulo of 2 to
determine if it is even or not.
Any help would be appreciated
I am trying to use the returned value of the <fo
element/function in my <xsl:if> test condition. But am unsuccessful in
doing so. Is it possible to use it in this fashion with a conversion
or correct syntax? I would like to test the current page number and
see if it is even or odd - and if it is odd I would like to perform
additional steps. I would like to do something like this (assume all
namespaces are set):
<xsl:if test="<fo
<xsl:text> Page </xsl:text> <fo
</xsl:test>
But of coarse the test condition does not want to deal with an
fo:function return value and I just want to do a Modulo of 2 to
determine if it is even or not.
Any help would be appreciated