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

RE: Saxon is adding line breaks

Subject: RE: Saxon is adding line breaks
From: "Martinez, Brian" <brian.martinez@xxxxxxxxxxx>
Date: Wed, 9 Apr 2003 16:00:05 -0600
xml encode line break
> From: mark_fletcher@xxxxxxxxxxxxxx 
> [mailto:mark_fletcher@xxxxxxxxxxxxxx]
> Sent: Wednesday, April 09, 2003 3:35 PM
> Subject: RE:  Saxon is adding line breaks
> 
> Thanks, Brian.  I'm using the xml output method with utf-8 
> encoding.  Also,
> I'm outputting in 'standalone' mode (no DTD specified).  My 
> Saxon version
> is 6.5.2.
> 
> How long a line of text did you try?  Did you use my example 
> text (which,
> by the way was wrapped by email--the source text really is unwrapped)?

Actually, I took out the line break when pasting it into my editor.  I
couldn't reproduce the problem at all when using XML output.

Could it be your user agent?  I viewed the output in XML Spy 4.4, which uses
IE for its browser view, and I simply did not see this problem.  (The line
wraps if your browser window is too narrow, of course.)  I used the
following transformation since you didn't provide sample code:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:output method="xml" encoding="utf-8"/>
	
  <xsl:template match="/">
  <title><xsl:value-of select="normalize-space(title)"/></title>

  </xsl:template>
  
</xsl:stylesheet>

cheers,
b.

| brian martinez                           brian.martinez@xxxxxxxxxxx |
| lead gui programmer                                    303.708.7248 |
| cheap tickets, part of trip network                fax 303.790.9350 |
| 6436 s. racine cir.                             englewood, co 80111 |
| cendant travel distribution services   http://www.cheaptickets.com/ |

 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.