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 May 11th, 2005, 10:43 PM
Registered User
 
Join Date: May 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default new line

I apologize in advance as this problem has posted on a million sites but the solution just doesn't work for me. I have a block and wish to enter a carriage return in the middle. i know i can get around this by nesting a table by that just seems like overkill:

My code:
...
<fo:table-cell>
<fo:block font-weight="bold" text-align="center">
MINISTRY OF TRANSPORTATION
<xsl:text>#xA;</xsl:text>
DEATILED ESTIMATE OF QUANTITIES
</fo:block>
</fo:table-cell>
...

Solutions i have tried (and failed):
<xsl:text>#10;</xsl:text>
or
<xsl:text>#xA;</xsl:text>



 
Old May 24th, 2005, 10:42 AM
Authorized User
 
Join Date: Jun 2003
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rushman
Default

try <xsl:text>#x0D;>#x0A</xsl:text> to have the CR-LF just in case...

Dijkstra's law on Programming and Inertia:

If you don't know what your program is supposed to do, don't try to write it.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to draw indicator line in owc line chart AlexOo General .NET 0 July 9th, 2007 10:32 PM
Reading a string from line by line vaidyapragati ASP.NET 2.0 Professional 1 May 3rd, 2007 08:43 AM
How to read file line by line in EVC++ iriskab Visual C++ 0 September 27th, 2006 01:39 PM
Reading line by line from a .txt file x_ray VB.NET 2002/2003 Basics 5 February 10th, 2006 01:55 PM
how can i take line by line in the richtextbox kamarajraj Beginning VB 6 0 August 12th, 2005 04:29 AM





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