objectsForXQuery: can return Foundation objects?

  • According to the documentation, "objectsForXQuery:constants:error:
    method returns an array potentially containing both NSXMLNode objects
    and Foundation objects corresponding to the atomic types (NSNumber,
    NSString, NSCalendarDate, and so on)".

    Under what conditions will it return anything other than an NSArray of
    NSXMLNodes?  Do you have to manually post-process NSXMLDocuments
    whenever you load them, re-setting the object values if you want to
    get typed values out of objectsForXQuery ?

    Jon
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today