conditional drawning of table

2010-03-17 Thread Red Light
Hi , in my xsl i have a condition:     xsl:choose            xsl:when test=count(/report/listElements/element) gt; 0 i draw a table with a border in the bottom     /xsl:when                 xsl:otherwise     i draw the same

RE: conditional drawning of table

2010-03-17 Thread Eric Douglas
If the only difference is the border, don't put the condition around the table. Use the condition on just the border, with an xsl:variable or xsl:attribute. From: Red Light [mailto:skydelt...@yahoo.com] Sent: Wednesday, March 17, 2010 10:12 AM To:

RE: conditional drawning of table

2010-03-17 Thread Mario Madunic
Here you go (or at least I think this is what you are looking for), xsl:template name=tableCondition xsl:choose xsl:when test=count(/report/listElements/element) gt; 0 i draw a table with a border in the bottom /xsl:when

RE: conditional drawning of table

2010-03-17 Thread Red Light
ok thanks guys

Re: conditional drawning of table

2010-03-17 Thread Louis . Masters
Try: xsl:if test=count(/report/listElements/element) gt; 0 xsl:attribute name=border-bottomwhatever/xsl:attribute /xsl:if -Lou Red Light skydelt...@yahoo.com wrote on 03/17/2010 10:12:13 AM: Hi , in my xsl i have a condition: xsl:choose xsl:when

RE: conditional drawning of table

2010-03-17 Thread Mario Madunic
Red Light you can combine what Louis and Eric have suggested with the named template and now you can just call the named template with the if test. xsl:template name=tableCondition fo:table xsl:if test=count(/report/listElements/element) gt; 0 xsl:attribute

Re: table border-collapse=collapse and borders

2010-03-17 Thread Red Light
sos

RTF output: spaces added after { } \ characters

2010-03-17 Thread JoshC
Hi Everyone, I'm using FOP to generate RTF output. The problem I'm having is that FOP adds a space after each of the following three characters in RTF output: { } \. In PDF output it does not add spaces after these characters. It seems to only be on these characters, though I haven't done a

Re: XMLFilterImpl producing SVG instream-foreign-object

2010-03-17 Thread Raphael Parree
Andreas, Thanks for confirming! Yes indeed i found out i had to bypass the startDocument method - still smells a bit, but then again fish is tasty What i am making is a possibility to include PlantUML ( http://plantuml.sourceforge.net/) UML diagrams in the FOP rendering uml-diagram format=svg