Parsing RSS
-
I have little problem. I am getting information from RSS with Xpath from xmldoc loaded from stream. Now i have problem with one node which innerxml looks like this:
A Greek bank Thursday condemned the killings of three of its employees a day earlier as protesters geared up to return to the streets. Protesters object to a government plan that includes wage freezes and higher taxes.<img src="http://feeds.feedburner.com/~r/rss/edition\_world/~4/\_MQI3aBvO64" height="1" width="1"/>
How could i delete text from img src or retrieve it seperately to show image too?
-
I have little problem. I am getting information from RSS with Xpath from xmldoc loaded from stream. Now i have problem with one node which innerxml looks like this:
A Greek bank Thursday condemned the killings of three of its employees a day earlier as protesters geared up to return to the streets. Protesters object to a government plan that includes wage freezes and higher taxes.<img src="http://feeds.feedburner.com/~r/rss/edition\_world/~4/\_MQI3aBvO64" height="1" width="1"/>
How could i delete text from img src or retrieve it seperately to show image too?
I suspect that node can be HTML, or HTML-like? In which case, you need to parse that text as HTML so you can manipulate it... It would help if you supplied more context, i.e. some XML which indicates what nodes of the RSS specification you are referring to exactly...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!