[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Putting a carriage return/line feed for output

Subject: Re: Putting a carriage return/line feed for output
From: ed billings <edbi@xxxxxxx>
Date: Fri, 09 Jun 2000 08:10:11 -0500
xsl carriage return line feed
A Line Feed is &#010;

and a carriage Retrun is &#013;

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.