This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Putting a carriage return/line feed for output


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]