On 07/15/09 09:21, "Adam R Maxwell" <adam.maxw...@pnl.gov> wrote:

> NSXMLDocumentTidyXML|NSXMLNodePreserveAll might do it (omitting the
> NSXMLDocumentTidyHTML conversion).  It certainly produces a
> different-looking document, but I'm not exactly sure what span element to
> look for...

Never mind; I found the span elements, and they are preserved by this
combination of options.  Your code for using Xpath seems to work if you use

        if ([NSString isEmptyString:title] == NO)
            [dataArray addObject:[node XMLString]];

in +Z3988MatchesForDocument:.  I'm not sure what the implications are of
leaving out NSXMLDocumentTidyHTML for other parsers.


------------------------------------------------------------------------------
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

Reply via email to