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

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pranav
Posts: 1
Joined: Thu Apr 23, 2015 9:28 am

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

Post 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
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply