Just to pile on, I use the variable version you show below with success.
Ralph
> -----Original Message-----
> From: Encoded Archival Description List [mailto:[log in to unmask]] On
> Behalf Of Michele R Combs
> Sent: Tuesday, January 24, 2017 3:43 PM
> To: [log in to unmask]
> Subject: line break, new line, line feed, whatever
>
> I'm running a script that extracts some data from our EAD and outputs it into
> a text file. We have about 2200 EAD files and I'd like the extracted data from
> each file to appear on a new line in the output file.
>
> I can't get a new line to appear, no matter what I do. Here's what I've tried
> so far:
>
> <xsl:text>
</xsl:text>
> <xsl:text>
</xsl:text>
>
> <xsl:text>
> </xsl:text>
>
> <xsl:variable name="newline"><xsl:text>
> </xsl:text></xsl:variable>
> and then outputting value-of newline
>
>
> Anybody have any other ideas? Do I need something in my <xsl:output>
> block to make it recognize newlines? Right now I just have this:
> <xsl:output method="text"/>
>
> Michele
> +++++++++
> Michele Combs | Lead Archivist
> Special Collections Research Center
> Syracuse University Libraries
> 222 Waverly Ave
> Syracuse, New York 13244
> t 315.443-2081 | e [log in to unmask] | w scrc.syr.edu
> SYRACUSE UNIVERSITY
> syr.edu
|