Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 27th, 2017, 02:30 PM
Authorized User
Points: 274, Level: 5
Points: 274, Level: 5 Points: 274, Level: 5 Points: 274, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2010
Posts: 52
Thanks: 9
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
Reply With Quote
  #2 (permalink)  
Old July 27th, 2017, 07:44 PM
mhkay's Avatar
Wrox Author
Points: 18,274, Level: 58
Points: 18,274, Level: 58 Points: 18,274, Level: 58 Points: 18,274, Level: 58
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,932
Thanks: 0
Thanked 282 Times in 277 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
Reply With Quote
The Following User Says Thank You to mhkay For This Useful Post:
ritagr (July 27th, 2017)
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic line wrapping based on conditions-Need expert help sen1953 XSLT 1 July 30th, 2013 03:34 PM
Dynamic line wrapping based on conditions-Need expert help sen1953 XSLT 0 July 13th, 2013 08: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 09: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



All times are GMT -4. The time now is 08:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.