i want extract list of feed information opml file in java. know have use xml-parse technique, have no idea use.
i java beginner, tell me how , give me example?
thanks lot!!
this should straight forward. can take 1 of hte following 2 approaches.
use java parsing capabilities , parse xml file. here example using dom parse.
there lot of open source code/libraries doing this. here one such example. class has method
public arraylist<opmlelement> readdocument(reader reader)
. can createreader
object opml file , pass same function. please note library depends on xml pull parser libraries. if not want add dependency use first approach.here another example on forum itself.
Comments
Post a Comment