xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Neilands <rneila...@pulsemining.com.au>
Subject Re: 3 elements on the same line
Date Sun, 11 Sep 2005 23:52:41 GMT
Bharathi,

Sounds like you will need 3 columns, not 3 rows. Note there is an 
example directory in the fop-install.

Cheers,
Roland

bharathi kongara wrote:

>Hi 
>
>I've the following table - I want to put the
>QuestionNo, QuestionText, and QuestionScore on the
>same line in the resulting output.
>
><xsl:template match="Question">
>   <fo:table table-layout="fixed" width="100%" >
>   	    	 
>      <fo:table-column
>column-width="proportional-column-width(1)"/>
>      
>      <fo:table-body space-after.optimum="15pt">
> 	       <fo:table-row padding-bottom="0.5em">
>	            <fo:table-cell>
>			       
>			        <xsl:apply-templates select="QuestionNo"/>
>			  	   
>		   		</fo:table-cell>
>	       </fo:table-row>
>	       <fo:table-row keep-with-previous="always">
>	            <fo:table-cell>
>			       
>			        <xsl:apply-templates
>select="QuestionType"/>
>			  	   
>		   		</fo:table-cell>
>	       </fo:table-row>
>	       <fo:table-row keep-with-previous="always">
>	            <fo:table-cell>
>			       
>			        <xsl:apply-templates
>select="QuestionScore"/>
>			  	   
>		   		</fo:table-cell>
>	       </fo:table-row>
><fo:table-row keep-with-previous="always">
>	            <fo:table-cell>
>			       
>			        <xsl:apply-templates
>select="QuestionText"/>
>			  	   
>		   		</fo:table-cell>
>	       </fo:table-row>
></fo:table-body>
>	  
>  </fo:table>
> </xsl:template>
>
>I tried with columns, didn't work(I'm using FOP to
>render the o/p). Any ideas???
>
>Thanks,
>Bharathi
>
>
>
>
>
>	
>		
>______________________________________________________ 
>Yahoo! for Good 
>Watch the Hurricane Katrina Shelter From The Storm concert 
>http://advision.webevents.yahoo.com/shelter 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message