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 February 20th, 2006, 09:27 AM
Registered User
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default line break

<div class="section">Required Documentation/Deliverables
   specify identifier of requirements</div>

I need to insert a line break after Devliverables? Right now it displays everything on one line. I would like the "specify identifier of requirements" to be displayed and centered on the second line.

Please help. <br> did not work.

Old February 20th, 2006, 11:18 AM
mhkay's Avatar
Wrox Author
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

When you say you want to insert a line break, do you mean a new line in the generated XML, or a newline in the text as displayed by a browser?

In the former case, insert <xsl:text>#x0a;</xsl:text>. In the second case, insert <br/>.

If inserting <br/> didn't work, then you need to explain how you tried to do it so we can show you where you went wrong.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Break in CrossTab timothyc Crystal Reports 0 March 12th, 2008 09:25 PM
result line break. cowbell1 Java Basics 1 October 18th, 2007 05:28 AM
line break Cyber Shiva HTML Code Clinic 1 May 17th, 2007 06:04 AM
line break on email sent Maxxim BOOK: ASP.NET Website Programming Problem-Design-Solution 2 September 4th, 2006 04:07 PM
break up line crmpicco Javascript How-To 1 June 6th, 2005 06:54 AM

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