[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re[2]: [xsl] Preserve Line break ?
Subject: Re[2]: [xsl] Preserve Line break ? From: Arthur Maloney <ArthurM@xxxxxxxxxx> Date: Mon, 7 Jun 2004 19:39:11 +0100 |
Hello Michael, Saturday, June 5, 2004, 6:43:37 PM, you wrote: Thanks Mike pre worked I looked up FAQ and that worked as well! MK> Are you sure it becomes hex 20? I suspect it becomes hex 0A, which a browser MK> will display in the same way as a single space. MK> If you want the browser to display multiple lines, you need either to wrap MK> the text in an HTML <pre> element, or to convert the newlines into <br/> MK> elements. See in the FAQ under "replace" for how to do that. MK> Michael Kay >> -----Original Message----- >> From: Arthur Maloney [mailto:ArthurM@xxxxxxxxxx] >> Sent: 05 June 2004 14:01 >> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >> Subject: [xsl] 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> >> --+-- >> >> MK> --+------------------------------------------------------------------ MK> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list MK> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ MK> or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> MK> --+-- -- Best regards, Arthur mailto:ArthurM@xxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Preserve Line break ?, Michael Kay | Thread | RE: [xsl] Javascript in Xsl using-X, Josh Canfield |
RE: RE: RE: [xsl] Unexpected result, Josh Canfield | Date | RE: RE: RE: RE: [xsl] Unexpected re, cknell |
Month |