|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Displaying XML element contents with line breaks
Subject: Displaying XML element contents with line breaks
From: hyflam@xxxxxxxxxxxxxxxxxxxx
Date: Fri, 29 Jan 1999 21:22:56 -0500 (EST)
|
--- Begin Message ---
Hi
RE: I want to display a xml file WITH LINE BREAKS after each tag's
content.
I have this XML file:
...
<FileTag>
<IncludeTag>include stdio.h:</IncludeTag>
</FileTag>
<FileTag>
<IncludeTag>include math.h</IncludeTag>
</FileTag>
...
with this XSL style sheet:
...
<xsl:for-each order-by="+ IncludeTag" select="Language/FileTag">
<TD STYLE="padding-left:1em">
<SPAN><html:BR><xsl:value-of Select="IncludeTag"/></html:BR></SPAN>
</TD>
</xsl:for-each>
...
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"
I tried adding <BR></BR> but it didn't work. Can someone please give me
advice. Thanks for your help
Felix
--- End Message ---
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|