[Vobject] vobject

Jeffrey Harris jeffrey at osafoundation.org
Sat May 24 09:56:22 CDT 2008


Hi Pat,

> Hi all,
> 
> I parse a vcard with 4 tel entries but i only get access to one tel
> entry... how do i get access to the other ones? and how do I get
> access to the attributes?
> 
> cheers
> 
> Pat

I'm not sure why, but it looks like your message to the list was 
automatically discarded.

If you have a vcard, to access multiple entries add _list to the name of 
the property, for instance:

 >>> vcard.tel_list

Parameters are accessed by adding _param, or _paramlist, for instance:

 >>> vcard.tel_list[2].foo_param

The documentation on this, in need of updating but including details 
like this, is at:

http://vobject.skyhouseconsulting.com/usage.html

Sincerely,
Jeffrey


More information about the VObject mailing list