Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Parsing RSS

Parsing RSS

Scheduled Pinned Locked Moved XML / XSL
comxmljsonhelpquestion
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aljaz111
    wrote on last edited by
    #1

    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?

    S 1 Reply Last reply
    0
    • A Aljaz111

      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?

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      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!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups