|
Subject: Re: [xsl] 3 elements on a same line From: omprakash.v@xxxxxxxxxxxxx Date: Mon, 12 Sep 2005 09:14:53 +0530 |
Hi,
If you want them on the same line, then why have 3 rows. You only need
one row. You say you tried with columns and it didn't work. Can you tell us
what didn't work and what xsl you used.
cheers,
prakash
bharathi kongara
<bharathikongara To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
@yahoo.com> cc: (bcc: omprakash.v/Polaris)
Subject: [xsl] 3 elements on a same line
09/12/2005 05:02
AM
Please respond
to xsl-list
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
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] 3 elements on a same line, bharathi kongara | Thread | [xsl] Dynamic path in xsl:import, SINGH Navpreet |
| Re: [xsl] Dynamic path in xsl:impor, Colin Paul Adams | Date | RE: [xsl] Apply-templates - how to , Aron Bock |
| Month |