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

Re: <br/> in FO?

Subject: Re: <br/> in FO?
From: Nitin.Jain@xxxxxxxxxxxxxxx
Date: Wed, 27 Feb 2002 17:45:16 +0530
fo break br
Hi Gustaf:
I use <fo:block> to break the line.

For example to break two lines in a table cell...

<fo:table-cell >
     <fo:block>This is the first line.</fo:block>
     <fo:block>And this is the second line.</fo:block>
</fo:table-cell>


I hope this is what you are looking for.

Regards,
Nitin




                                                                                                         
                    "Gustaf Liljegren"                                                                   
                    <gustaf.liljegren@xxxxxx>         To:     "XSL List"                                 
                    Sent by:                           <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>                 
                    owner-xsl-list@xxxxxxxxxxxx       cc:                                                
                    rytech.com                        Subject:      <br/> in FO?                    
                                                                                                         
                                                                                                         
                    27-02-02 04:47 PM                                                                    
                    Please respond to xsl-list                                                           
                                                                                                         
                                                                                                         




I've found a reason for a <br/> tag in my DTD, and I wonder how to
implement
it in the XSL (to FO). So far, I have used a list tag for the task:

<list style="none">
  <item>Microsoft Corporation Worldwide</item>
  <item>One Microsoft Way</item>
  <item>Redmond, WA 98052-6399</item>
  <item>USA</item>
  <item>Tel: (425) 882-8080</item>
  <item>E-fax: (425) 706-7329</item>
  <item>Web: http://www.microsoft.com/</item>
</list>

Another example:

<header>Financial Information</header>
<list style="none">
  <item>Fiscal Year ending June 2000</item>
  <item>Net revenue $22.96 billion</item>
  <item>Net income $9.42 billion</item>
</list>

The list comes out without bullets or numbers. It works, but neither is
conceptually a list, or what would you say? Perhaps it's a minor problem,
but if there's a solution I'd be happy to know about it. I'd rather have it
more like in XHTML: a <br/> tag to use whenever you need in paragraphs. I
wonder how to implement a <br/> tag in FO, if that is possible.

Gustaf



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






 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.