[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Fairly simple formatting problem w/ XSL FO's

Subject: Fairly simple formatting problem w/ XSL FO's
From: Teemu Ropponen <troppone@xxxxxxxxxx>
Date: Thu, 19 Aug 1999 10:52:43 +0300 (EET DST)
teemu ropponen
Hi,

While trying to convert some XML + XSL -> HTML into XML+XSL -> XSL
FO's, a problem (which I'd say is very common) came up. I want the
final result to look like :

			__________________
This is some text	|		  |
that should come	|  AN IMAGE	  |
right here next to	|		  | 
the image.......	|_________________| 


A couple of possibilities of expressing this came to mind :

-------------------------------
<fo:block>
  <fo:inline-included-container>	
    This is some text	
  </fo:inline-include-container>	
  <fo:inline-graphic href="..." ...  />	
</fo:block>
---------------------------------
<fo:table>
  <fo:table-row>
    <fo:table-cell>
	This is some text
    </fo:table-cell>
    <fo:table-cell>
	<fo:display-graphic href="..." ... />
    </fo:table-cell>   
  <fo:table-row>
<fo:table>  
----------------------------------

Now the second possibility seems just a bit cumbersome for such a simple
formatting procedure, and the first one kind of "misuses" the
inline-included-container flow object
("inline-included-container...typically containing text blocks with a
different writing-mode")...

Any ideas ?? Have I read the spec poorly, not having noticed an obvious
solution ???

Thanks,

Teemu Ropponen					troppone@xxxxxxxxxx
student/research assistant
Telecom. Software and Multimedia Lab.		http://www.tcm.hut.fi
Helsinki University of Technology, Finland	http://www.hut.fi


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.