[Vobject] Parsing Vcard.
    Jeffrey Harris 
    jeffrey at osafoundation.org
       
    Sat Sep 26 12:36:15 CDT 2009
    
    
  
Hi Fred,
> *However, this vcard has 3 phone numbers and I can only access the first
> one (using vcard.tel), so how can I access the two other phone number ?*
The vobject data structure is a dictionary node whose named children are
lists of dictionary nodes or leaves.
Most of the time, the fact that children are lists isn't especially
helpful, so there's syntactic sugar to hide the lists.
vcard.tel is equivalent to vcard.tel_list[0].  If you want the whole
list, look at CHILDNAME_list.
Sincerely,
Jeffrey
    
    
More information about the VObject
mailing list