XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Prashant HegdeSubject: New line and notepad
Author: Prashant Hegde
Date: 31 Jan 2007 05:06 PM
Hi All
I am writing a XSL for creating a text file after transformation. To put the new line i am using <xsl:text>&#10;</xsl:text>. The formatting of the transformed text file looks proper if i open it in wordpad, edit plus etc. But it gets weird up when i open the same with Notepad. Please note that the formatting comes up proeper even in notepad if transformation is done with default java transformer. I need to use Saxon parser, from which the problem is. Would be the problem is with SAXON or &#160; ????

Thanks a lot
Prashant Hegde

Postnext
(Deleted User) Subject: New line
Author: (Deleted User)
Date: 01 Feb 2007 03:12 AM
Prashant,
on Windows the new line symbol is made by "&#13;&#10;".

Hope this helps,
Alberto

Posttop
Prashant HegdeSubject: New line
Author: Prashant Hegde
Date: 01 Feb 2007 11:16 AM
Thanks Alberto, it worked.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.