aspose file tools
The moose likes XML and Related Technologies and the fly likes outputting text linebreak Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "outputting text linebreak " Watch "outputting text linebreak " New topic
Author

outputting text linebreak

Scott Collens
Greenhorn

Joined: Jun 21, 2001
Posts: 20
Hi again,
When using xslt to output a text document, how do you code a line break in the stylesheet?
Scott
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Hi Scott!
Type <xsl:text>, then hit �enter� then </xsl:text>
It will look like
<xsl:text>
</xsl:text>
and new line symbols should go to the output. There should be shorter solution, something with &#x0A; &#x0D; entities, but I do not remember it right now...

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Donna Meyer
Greenhorn

Joined: Sep 12, 2000
Posts: 21
Hi Scott,
I think the character entity for new lines is .
 
 
subject: outputting text linebreak
 
Threads others viewed
list box
exporting to CSV
Byte order and file transference.
Default Body Content
WA #1.....word association
developer file tools