Hi Georg,
With in the XSL file we have both the templates. In the xml for the text, we 
have to traverse with for-each looking for some elements[the text is also 
formatted text and is an FO. It is displayed in pdf using 
disable-output-escaping="yes"]. And for the images we have to traverse again 
for another set of elements with for-each. In this case how to get the full 
image in middle. When I tried to display the full image it got cut in the pdf 
and appeared as half. Thought of an approach that if images on the right side 
displayed first before the text. But in <fo:table> how to fill the 
<fo:table-cell>s from right to left is another question.
 
Thanks,
Deepthi.K.

--- On Tue, 20/10/09, Georg Datterl <[email protected]> wrote:


From: Georg Datterl <[email protected]>
Subject: AW: Regarding XSL-Fo table columns display
To: [email protected]
Date: Tuesday, 20 October, 2009, 2:47 PM


Hi Deepthi, 

There are quite some interesting fuctionalities in your mail.

> I have a requirement for displaying a table which contains two columns. 

No problem.

> First left column should contain text and second column should contain 
> images. 

No problem either.

> The images sizes vary as half or full. In case of full images the image 
> should be displayed occupying the full page. 

Possible.

> At this point the text should overflow to the next page. 

If your transformation knows about the size of the image, it can either create 
a row with two cells (half image) or two rows (full image). You can even 
decided whether the text should span two columns in that case, too.

> One thing I need to mention is the text and images come from separate 
> templates executing one after other. 
> Is there any way to make this done. Please help me in this regard.

That's tricky, I'd guess. You have to write two transformations with the first 
transformation taking your text file (or image file, doesn't matter which one 
is first, although I'd think the text file first would be easier) and a 
transformation file and transform it into the second transformation file, which 
in turn is applied on the image file. Basically instead of XML+XSLT=FO you need 
XML1+XSLT1=XSLT2 and XSLT2+XML2=FO. Technically surely possible, but I'd lock 
myself in a quiet room for some hours to think it all through.

Does that help?

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: k deepthi [mailto:[email protected]] 
Gesendet: Dienstag, 20. Oktober 2009 07:43
An: FOP Users
Betreff: Fw: Regarding XSL-Fo table columns display

Hi Team,
Is there any possibility for the below functionality which I have posted in the 
below mail. Please help me as it is very urgent requirement.

Thanks,
Deepthi.K.

--- On Fri, 16/10/09, k deepthi <[email protected]> wrote:



    From: k deepthi <[email protected]>
    Subject: Regarding XSL-Fo table columns display
    To: "FOP Users" <[email protected]>
    Date: Friday, 16 October, 2009, 11:24 AM
    
    
Hi Team,
I have a requirement for displaying a table which contains two columns. First 
left column should contain text and second column should contain images. The 
images sizes vary as half or full. In case of full images the image should be 
displayed occupying the full page. At this point the text should overflow to 
the next page. One thing I need to mention is the text and images come from 
separate templates executing one after other. Is there any way to make this 
done. Please help me in this regard.

Thanks,
Deepthi.

________________________________

    Add whatever you love to the Yahoo! India homepage. Try now! 
<http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew> 


________________________________

Connect more, do more and share more with Yahoo! India Mail. Learn more 
<http://in.rd.yahoo.com/tagline_galaxy_3/*http://in.overview.mail.yahoo.com/> .

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




      Now, send attachments up to 25MB with Yahoo! India Mail. Learn how. 
http://in.overview.mail.yahoo.com/photos

Reply via email to