Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
AnswerMessage Closed Pin
17-Jun-10 23:07
stancrm17-Jun-10 23:07 
GeneralRe: List all users of computer Pin
Sunil G17-Jun-10 23:19
Sunil G17-Jun-10 23:19 
GeneralRe: List all users of computer Pin
ddecoy18-Jun-10 2:14
ddecoy18-Jun-10 2:14 
QuestionHow to create xmpp client using C# Pin
manjeeet17-Jun-10 22:20
manjeeet17-Jun-10 22:20 
Answercross-post Pin
Luc Pattyn18-Jun-10 2:30
sitebuilderLuc Pattyn18-Jun-10 2:30 
QuestionReading CDATA text from RSS Feed using LINQ to xml Pin
faheemnadeem17-Jun-10 21:48
faheemnadeem17-Jun-10 21:48 
AnswerRe: Reading CDATA text from RSS Feed using LINQ to xml Pin
i gr817-Jun-10 23:05
i gr817-Jun-10 23:05 
GeneralRe: Reading CDATA text from RSS Feed using LINQ to xml Pin
faheemnadeem17-Jun-10 23:40
faheemnadeem17-Jun-10 23:40 
If you guide me a bit further...

1. I have loaded the document as follows.
XDocument rssFeed = XDocument.Load(sForecastUrl);


2. Now i get the descendant nodes as follows
var desc = from e in rssFeed.Descendants("channel").Descendants("item").Descendants("description")
                           select e;

                foreach (var element in desc)
                {
                    element.Value;
                }


I am able to get description element value which contains the cdata tag.
Dont know what to do next to get "Img Src" attribute directly rather than from string manipulation.
Some code in the foreach loop should help please.
GeneralRe: Reading CDATA text from RSS Feed using LINQ to xml Pin
i gr818-Jun-10 1:32
i gr818-Jun-10 1:32 
GeneralRe: Reading CDATA text from RSS Feed using LINQ to xml Pin
faheemnadeem18-Jun-10 1:47
faheemnadeem18-Jun-10 1:47 
QuestionUSB device abrupt removal causes exception Pin
CelestialCoder17-Jun-10 21:05
CelestialCoder17-Jun-10 21:05 
QuestionCould the Derived class hide the base class method? Pin
yu-jian17-Jun-10 17:06
yu-jian17-Jun-10 17:06 
AnswerRe: Could the Derived class hide the base class method? Pin
Dan Mos17-Jun-10 17:12
Dan Mos17-Jun-10 17:12 
AnswerRe: Could the Derived class hide the base class method? Pin
PIEBALDconsult17-Jun-10 17:25
mvePIEBALDconsult17-Jun-10 17:25 
GeneralRe: Could the Derived class hide the base class method? Pin
#realJSOP17-Jun-10 23:54
professional#realJSOP17-Jun-10 23:54 
GeneralRe: Could the Derived class hide the base class method? Pin
DaveyM6918-Jun-10 2:22
professionalDaveyM6918-Jun-10 2:22 
GeneralRe: Could the Derived class hide the base class method? Pin
PIEBALDconsult18-Jun-10 4:07
mvePIEBALDconsult18-Jun-10 4:07 
GeneralRe: Could the Derived class hide the base class method? Pin
DaveyM6918-Jun-10 8:14
professionalDaveyM6918-Jun-10 8:14 
GeneralRe: Could the Derived class hide the base class method? Pin
PIEBALDconsult18-Jun-10 3:35
mvePIEBALDconsult18-Jun-10 3:35 
GeneralRe: Could the Derived class hide the base class method? Pin
#realJSOP18-Jun-10 11:22
professional#realJSOP18-Jun-10 11:22 
AnswerRe: Could the Derived class hide the base class method? Pin
DaveyM6918-Jun-10 21:32
professionalDaveyM6918-Jun-10 21:32 
QuestionPost Access Data Tables to a ListView Box Pin
PDTUM17-Jun-10 16:56
PDTUM17-Jun-10 16:56 
AnswerRe: Post Access Data Tables to a ListView Box Pin
Dan Mos17-Jun-10 17:11
Dan Mos17-Jun-10 17:11 
GeneralRe: Post Access Data Tables to a ListView Box Pin
PDTUM17-Jun-10 18:32
PDTUM17-Jun-10 18:32 
AnswerRe: Post Access Data Tables to a ListView Box Pin
PatrickPantao17-Jun-10 17:28
PatrickPantao17-Jun-10 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.