Web Design and Development Forums

XSL FO Table formatting

This is a discussion on "XSL FO Table formatting" within the XML, RSS & Atom section. This forum, and the thread "XSL FO Table formatting are both part of the Program Your Website category.

Old Dec 13th, 2006, 07:35   #1 (permalink)
New Member
 
Join Date: Dec 2006
Location: KL
Age: 37
Posts: 4
XSL FO Table formatting

Hi!

Help, I think there is a simple solution for this. Can't seem to format this correctly

Thanks alot.

Dave

<fo:table width="100%">
<fo:table-column column-width="proportional-column-width(50)"/>
<fo:table-column column-width="proportional-column-width(25)"/>
<fo:table-column column-width="proportional-column-width(25)"/>
<fo:table-body>
<xsl:for-each select="//DscA | //DscB">
<fo:table-row line-height="13pt">
<fo:table-cell border-width="1pt" border-style="solid">
<fo:block>
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>

Actual XML Data
<DscA>1. Money In Premises</DscA>
<DscA>3,000.00</DscA>
<DscA>0.00</DscA>
<DscA>2. Money In Transit</DscA>
<DscB>3,000.00</DscB>
<DscB>0.00</DscB>
<DscB>3. Others</DscB>
<DscB>10,000.00</DscB>
<DscB>0.00</DscB>

The expected output (3 columns

1. Money In Premises 3,000.00 0.00
2. Money In Transit 3,000.00 0.00
3. Others 10,000.00 0.00

The current output
1. Money In Premises
3,000.00
0.00
2. Money In Transit
3,000.00
0.00
3. Others
10,000.00
0.00
TOTAL
davedran is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
table formatting

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML with CSS Formatting taemurz CSS Forum 11 Jun 23rd, 2007 21:57
formatting of text froma a dynamic table in dreamweaver chimp MySQL 2 Jan 2nd, 2007 10:09
XML Help for Newbie - Formatting Content AceTutor XML, RSS & Atom 0 Jul 31st, 2006 12:04
Formatting not working masonbarge Webforumz Suggestions and Feedback 4 Jun 26th, 2006 14:41
Need to align width of Float table with the table below Vertabase CSS Forum 4 Mar 8th, 2006 21:21



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 15:05.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59