Hi

Can somebody tell if the yntax of xsl:if I'm using is
correct?(If so, why didn't it work)

My xml is:

Question>
        <QuestionNo>1.</QuestionNo>
        <FullPage>true</FullPage>
        <QuestionText></QuestionText>

</Question>

and my xsl is:

<xsl:template match="Question">
    <fo:block keep-together="always"
white-space-collapse="false">

<xsl:if test="Question/FullPage = 'true'">
       <xsl:attribute
name="break-after">page</xsl:attribute>
       <xsl:attribute
name="break-before">page</xsl:attribute>
</xsl:if>
  <xsl:apply-templates select="QuestionNo"/>
  <xsl:apply-templates select="QuestionText"/>
  </fo:block>
</xsl:template>


                
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to