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 July 27th, 2017, 01:30 PM
Authorized User
 
Join Date: Apr 2010
Posts: 61
Thanks: 12
Thanked 0 Times in 0 Posts
Default Stop Wrapping From Adding Space on New Line

Hello.

I'm using the following to allow for text to wrap within a cell (fop-1.0).
<fo:table-cell wrap-option="wrap" keep-together.within-column="always">

This is working but when the text is wrapped to the next line, a space is added at the beginning of the text on each subsequent line. I'd like the text to all start in the same position.

For example currently:
Code:
Line one begins here.....
 Line two begins here.....
 Line three begins here.....
For example would prefer:
Code:
Line one begins here.....
Line two begins here.....
Line three begins here.....
Any suggestions will be greatly appreciated!

Thanks,
Rita
 
Old July 27th, 2017, 06:44 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I think this forum is specifically about XSLT rather than XSL-FO, so you may not find anyone here who can answer.

Generally, unless your question is specifically about a Wiley/Wrox book, I would suggest that your best chance of getting an answer to this kind of question these days is to ask on StackOverflow.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
The Following User Says Thank You to mhkay For This Useful Post:
ritagr (July 27th, 2017)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic line wrapping based on conditions-Need expert help sen1953 XSLT 1 July 30th, 2013 02:34 PM
Dynamic line wrapping based on conditions-Need expert help sen1953 XSLT 0 July 13th, 2013 07:28 AM
How do I stop line feeds in a Hierarchy field from a SharePoint list to prevent wrapp aaqqqa BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 0 September 10th, 2010 08:31 AM
How can I stop <DIV> tag wrapping sinkalanick CSS Cascading Style Sheets 3 February 19th, 2007 09:16 PM
Adding SPACE before text dwrs XSLT 3 February 6th, 2004 09:10 AM





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