473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Newline in RSS feed?

My webservice for RSS doesn't look pretty, in IE each line runs in to
the next, no line returns.

How can newlines be put in the feed without screwing-up the XML? I
tried <br /> but this got included in the displayed feed.

My XML is being generated dynamically using C#.

Thanks for your help.
Nov 12 '05 #1
2 5322
It sounds like your building the XML using a string builder construct.
You best to use the System.Xml namespace to build XML docs. They add
all the <? header information that allows IE et al to recognize it as
XML.
Hope this helps,

Randy
http://www.kbcafe.com

"Bruce W..1" <br***@noDirectEmail.com> wrote in message news:<3F**************@noDirectEmail.com>...
My webservice for RSS doesn't look pretty, in IE each line runs in to
the next, no line returns.

How can newlines be put in the feed without screwing-up the XML? I
tried <br /> but this got included in the displayed feed.

My XML is being generated dynamically using C#.

Thanks for your help.

Nov 12 '05 #2
Bruce W..1 wrote:

How can newlines be put in the feed without screwing-up the XML? I
tried <br /> but this got included in the displayed feed.


Try

--
Oleg Tkachenko
XML Insider
http://www.tkachenko.com/blog

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: JJ | last post by:
Hi, I was wondering what is the constant for newline so that I can add newlines in messageBoxs ? Vb has vbcCrLf what is it for C#? Thanks, JJ
4
by: Till Crueger | last post by:
Hi, I have a little problem with the following code: #include <stdio.h> int main(void) { char input='\0'; while(input!='q') { printf("Menu\n"); fflush(stdout);
5
by: Vamsi | last post by:
Hi, I am trying a basic opearation of splitting a multiline value to an array of single lines(Actually making Address into AddressLine1, AddressLine2). I used Environment.NewLine in split, I...
8
by: John Grandy | last post by:
in VB.NET you can do sb = New StringBuilder("Hello") sb.Append(vbCrLf) What is the C# analogy to vbCrLf ?
29
by: runningdog | last post by:
Hi, I would like to be able to embed a newline in a text string. Is there any convienent notation to do this TIA Steve
4
by: Peter Kirk | last post by:
Hi I would like to ask a little bit about the value Environment.Newline: what is it and what is the point of it? Ok, I can see in the docs that it represents "newline" for the current platform -...
5
by: Ward Germonpré | last post by:
Hi, From a PHP backend I generate a javascript array like this : bevestigingen = [{id:'47',leverancier:'VELUX',depot:'KNO',klant:'',werf:'',referentie:'Ro els',producten:'DKL U04 1100 1st...
1
by: mike.biang | last post by:
I am using the textstream object to read a CSV file and parse through the fields. I use the readline() method to read in each line of the file, and parse the contents into the values of the...
4
by: Blake Garner | last post by:
I'm looking for suggestions on how to approach generating rss feed ..xml files using python. What modules to people recommend I start with? Thanks! Blake
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.