Skip to main content

DOM RSS how to url...

1 reply [Last post]
Joined: 2007-10-03

Hello I have done a lot of searching but have not found any info that i could understand ... I am trying to extraxt and image from RSS i have to use DOM

i can get the simple things like etc with for example
NodeList description = element.getElementsByTagName("description");
Element descript = (Element)description.item(0);
String des = descript.getTextContent();

my problem is that
i have tried several different ways like ...Element mediacon.getAttribute("url") etc
but to no success it would be much appreciated if sombody could let me know how to go about this thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-10-03

Well Thanks for all the great response its good to see so many people willing to make a contribution ......

and to let evrybody know the solution to this is dont use dom as far as I am concerned