Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 25th, 2007, 09:47 AM
Tre Tre is offline
Authorized User
 
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Forcing A New Line

Hi,

I have a table with column headings. Sometimes the headings are quite long and I want to force a carrige return and display the heading text on two lines, for example:

Currently looks like this:

------------------------------

Portfolio Start Value

333333
444444
555555

------------------------------

But I want it like this:

------------------------------

Portfolio
Start Value

33333333
44444444
55555555

------------------------------

I also want to be able to force a blank line between the heading and the table body.

Any advice would be greatly appreciated!

Regards,

Trevor.

 
Old June 25th, 2007, 09:59 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

What is your output format? Text, HTML, XSL-FO, SVG...?

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old June 25th, 2007, 10:05 AM
Tre Tre is offline
Authorized User
 
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My output format is XSL-FO

 
Old June 25th, 2007, 01:08 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Good luck, but I don't think there are many XSL-FO experts available on this list.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
forcing files to download problem harpua Classic ASP Professional 2 July 4th, 2006 09:45 AM
Forcing an ActiveX Version to download deepak.vasudevan HTML Code Clinic 0 September 2nd, 2005 02:19 AM
forcing button to go the server shoakat Classic ASP Databases 4 September 10th, 2004 10:36 AM
forcing page breaks emprise Crystal Reports 0 July 26th, 2004 03:51 AM
forcing a page_load ? Rashe ASP.NET 1.0 and 1.1 Basics 2 February 16th, 2004 10:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.