I use the Rome API to parse data from an XML feed quite successfully, but I was a little mistaken for that.
Given the following XML fragment:
<entry> <id> uniqueId </id> <updated> 2008-11-05T01: 32: 35Z </updated> <mm: status xmlns: mm = " http: //contentprovider.com" ; available =" true "/ > <title <Title </title> </> </> </ </entry>
Using the SyndEntryImpl class, I can use its standard methods (getTitle, getPublishedDate, etc.) to pull out the title, identifier, updated date, etc., but havent figured out a way to get the metadata tag (<mm: status .. .).
Getting a string representation of a feed entry would be an acceptable solution, since I could use string functions to extract information, but even with this I did not find a simple method.
Has anyone come into this?
Thanks.
Nick
source share