This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Putting a carriage return/line feed for output
- To: xsl-list at mulberrytech dot com
- Subject: Re: Putting a carriage return/line feed for output
- From: ed billings <edbi at crt dot com>
- Date: Fri, 09 Jun 2000 08:10:11 -0500
- Organization: bank of america
- References: <20000609104958.89628.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
A Line Feed is 

and a carriage Retrun is 
ED
Nuri Besen wrote:
> Hello,
>
> How can you put a carriage-return/line-feed from the XSL so that the output
> is broken up into lines? Is there another way to accomplish this?
>
> Thanks for any help,
>
> --------------------------------
> Sample XSL:
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:output method="text" encoding="ISO-8859-9"/>
>
> <xsl:template match="/">
> # list data only
> <xsl:apply-templates select="ROOT//DATA/ITEMS/ITEM"/>
> </xsl:template>
>
> <xsl:template match="ROOT//DATA/ITEMS/ITEM">
> <xsl:value-of select="KEY"/>=<xsl:value-of select="VALUE"/>
> </xsl:template>
>
> </xsl:stylesheet>
>
> ------------------------------------
> I need to insert a line break after each key=value pair output! It also has
> to be in output=text format to keep the format only to text and nothing to
> do with html!
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list