Page 1 of 1

Working with XSL:FO in it Choose When not working properly.

Posted: Thu Apr 23, 2015 9:38 am
by pranav
hello mates,
Working with XSL:FO and i am trying to do as follows.

Code: Select all


<fo:table-row>
<xsl:choose>
<xsl:when test="(/DOCUMENT/ROWSET/ROW/key = 'keyvalue') or (/DOCUMENT/ROWSET/ROW/key = 'keyvalue') or (/DOCUMENT/ROWSET/ROW/key = 'keyvalue')">
<fo:table-cell border-bottom-color="#000000" border-bottom-style="solid" border-bottom-width="medium" number-columns-spanned="1">
<fo:block>Information based on need</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:choose>
</xsl:when>
now every time KEY matches it will show results if no key matches then it won't show any results, It works fine when you want to generate more then one page but when i want to generate only one page no result will be displayed

there is if condition for grouping above <choose> <when> any help would be appreciated.
needs quick responses

Re: Working with XSL:FO in it Choose When not working proper

Posted: Mon May 04, 2015 3:32 pm
by Radu
Hi,

I'm sorry but I do not understand what you want.
There is an XSLT users list here, maybe they can help you further:

http://www.mulberrytech.com/xsl/xsl-list/

Regards,
Radu