Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Thu, 31 Jul 2008 20:00:51 +0800,    group: microsoft.public.xsl        back       


How to display breakline from xsl in txt mode at client side?   
Hi,

When I manually convert the xml file with the xsl in visual studio or xml 
notepad, the breakline can be correctly shown. But if I open the xml file 
directly in IE, all the text will be in one line. How can I get what I want? 
(The result should be txt, not HTML format.)


Thanks,
Kert.
date: Thu, 31 Jul 2008 20:00:51 +0800   author:   Kert

Re: How to display breakline from xsl in txt mode at client side?   
Kert wrote:

> When I manually convert the xml file with the xsl in visual studio or xml 
> notepad, the breakline can be correctly shown. But if I open the xml file 
> directly in IE, all the text will be in one line. How can I get what I want? 
> (The result should be txt, not HTML format.)

I think the problem is that IE always treats the transformation result 
as HTML and renders it as such so putting in 
 does not create a 
line break. You might be better off to create a HTML document with a 
list or with br elements to ensure you get the output you want.

-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/
date: Thu, 31 Jul 2008 14:50:21 +0200   author:   Martin Honnen

Re: How to display breakline from xsl in txt mode at client side?   
Thank you.

"Martin Honnen"  wrote in message 
news:eGQHAww8IHA.3944@TK2MSFTNGP03.phx.gbl...
> Kert wrote:
>
>> When I manually convert the xml file with the xsl in visual studio or xml 
>> notepad, the breakline can be correctly shown. But if I open the xml file 
>> directly in IE, all the text will be in one line. How can I get what I 
>> want? (The result should be txt, not HTML format.)
>
> I think the problem is that IE always treats the transformation result as 
> HTML and renders it as such so putting in 
 does not create a line 
> break. You might be better off to create a HTML document with a list or 
> with br elements to ensure you get the output you want.
>
> -- 
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/
date: Fri, 1 Aug 2008 15:08:22 +0800   author:   Kert

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us