This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Printing newline
- To: xsl-list at mulberrytech dot com
- Subject: RE: Printing newline
- From: "G. Ken Holman" <gkholman at CraneSoftwrights dot com>
- Date: Thu, 10 Feb 2000 14:00:02 -0800
- Reply-To: xsl-list at mulberrytech dot com
At 00/02/10 11:29 -0700, Mike Brown wrote:
> > Or <xsl:value-of select="
"/>
>
>You mean <xsl:value-of select="'
'"/> :-)
I just use:
<xsl:text>
</xsl:text>
or if there are a lot of them in the file:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nl "
"><!--new line-->
]>
...
<xsl:text>&nl;</xsl:text>
or, for MSDOS text output I just redefine the entity:
<!ENTITY nl "
">
....................... Ken
--
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Practical Transformation Using XSLT and XPath ISBN 1-894049-03-9
Next instructor-led training: 2000-02-27/28,2000-05-11/12,2000-05-15,
- 2000-06-12,2000-06-13,2001-01-27
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list