Regards
Azrael Noor
Paul Clapham wrote:Seems to me that if the RSS feed produces valid XML, then you could consume the XML directly from the feed (i.e. over the network). There's no need to copy it to a local disk before you transform it.
Paul Clapham wrote:The other issue: if the RSS feed is Atom, then it's valid XML and you can transform it with XSLT. However earlier RSS formats were not valid XML, so you won't be able to transform them with XSLT. And they are still very common out in the wild. You might be able to preprocess them with JTidy or some other product which cleans up HTML -- or maybe not. I'm not sure that those formats would be amenable to that sort of cleanup.
There was also a Java RSS parser named ROME, which you might be able to track down.
Regards
Azrael Noor
Azrael Noor wrote:1) Do you mean to say that we should write some code directly in XSLT, contains link from where it has to consume Feed?
No, that wasn't what I meant to say.
But now that I read your original post again, it almost looks like you want to run the XSLT directly, without using any other code in any other language. Is that right? If so, then before we continue it would be useful to understand why you think this is a good idea.
Regards
Azrael Noor