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

RE: Preserve Line break ?

Subject: RE: Preserve Line break ?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sat, 5 Jun 2004 18:43:37 +0100
hex line break
Are you sure it becomes hex 20? I suspect it becomes hex 0A, which a browser
will display in the same way as a single space. 

If you want the browser to display multiple lines, you need either to wrap
the text in an HTML <pre> element, or to convert the newlines into <br/>
elements. See in the FAQ under "replace" for how to do that.

Michael Kay

> -----Original Message-----
> From: Arthur Maloney [mailto:ArthurM@xxxxxxxxxx] 
> Sent: 05 June 2004 14:01
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Preserve Line break ?
> 
> Hello xsl-list,
> 
> 
> XML data :
> <contact>
>         <person>
>                 <personId>191</personId>
>                 <formal-name>Fred Blogs</formal-name>
>                 <organisation>
>                         <addressId>5</addressId>
>                         <address>PO Box 99
> MANCHESTER
> M21 678</address>
>                         <organisationId>112</organisationId>
>                         <name>SEEP</name>
>                         <epitome>SEE</epitome>
>                 </organisation>
>         </person>
> </contact>
> 
> In the address element after PO BOX 99 Hex 0d 0A and each 
> line of the address
> 
> When I transform it becomes Hex 20  How do you preserve the newline  ?
> Its going to xhtml
> -- 
> Best regards,
>  Arthur                          mailto:ArthurM@xxxxxxxxxx
> 
> 
> --+------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 
> 



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.