|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using the full page for an element
Hi
Is there any way that depending on the attribute in
the xml that I can allot a full page to that, by
specifying in the style sheet.
My xml is:
<Question>
<QuestionNo>1.</QuestionNo>
<QuestionText>This is question
1.</QuestionText>
<FullPage>true</FullPage>
</Question>
<Question>
<QuestionNo>1.</QuestionNo>
<QuestionText>This is question
2.</QuestionText>
<FullPage>false</FullPage>
</Question>
My xsl is:
<xsl:template match="Question">
<fo:block keep-together="always" break-after="page"
white-space-collapse="false">
<xsl:apply-templates select="QuestionNo"/>
<xsl:apply-templates select="QuestionText"/>
</fo:block>
</xsl:template>
So if the FullPage attribute is true, that question
should start on a new page and the full page must be
left. The xsl-if has never worked properly form,
probably the syntax may be wrong. Any help is
appreciated.
Thanks
Bharathi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








