[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Displaying XML element contents with line breaks

Subject: Re: Displaying XML element contents with line breaks
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Jan 1999 20:44:39 -0800
xml element line break
At 99/01/29 21:22 -0500, hyflam@xxxxxxxxxxxxxxxxxxxx wrote:
>RE: I want to display a xml file WITH LINE BREAKS after each tag's 
>content.
>
>I have this XML file:
>...
>with this XSL style sheet:
>...
>		<SPAN><html:BR><xsl:value-of Select="IncludeTag"/></html:BR></SPAN>
>
>The result currently is:
>
>"include stdio.h: include math.h"
>
>BUT I want to display it with line breaks:
>
>"include stdio.h
>include math.h"

Use <DIV> instead of <SPAN> because DIV is a "block-level" grouping
construct and SPAN is an "inline" grouping construct.  The blocking will
produce your line feeds, inline constructs don't interfere with the flow of
a line of text.

........... Ken

--
G. Ken Holman         mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com/s/
Box 266,                                V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0            F: +1(613)489-0995
Training:   http://www.CraneSoftwrights.com/s/schedule.htm
Resources: http://www.CraneSoftwrights.com/s/resources.htm
Shareware: http://www.CraneSoftwrights.com/s/shareware.htm
Next XSL Training:      X-Tech:1999-03-07  WWW8:1999-05-11


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.