On 07/15/09 11:09, "Christiaan Hofman" <cmhof...@gmail.com> wrote:
>> while (node = [nodeEnum nextObject]) { >> if ([node kind] == NSXMLElementKind && [node >> attributeForName:@"title"] != nil) >> [dataArray addObject:[[node attributeForName:@"title"] >> XMLString]]; >> } >> > > Somehow I can't get that to work. It finds the nodes, but can't parse > them. I'm using a download of your xpath code with the attached diffs. I've no idea why it wouldn't work for you; I tried citeulike and one of the libraries that Sven mentioned in comments. The only substantive changes are the dataArray condition and the DOI parsing (using same code as BibItem).
diff.txt
Description: Binary data
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop