Subject: line break
Posted By: problem Post Date: 2/20/2006 8:27:08 AM


<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.

Thanks.
Reply By: mhkay Reply Date: 2/20/2006 10:18:37 AM
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
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Go to topic 40147

Return to index page 365
Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361
Return to index page 360
Return to index page 359
Return to index page 358
Return to index page 357
Return to index page 356