[Vobject] How to split name values?
Steffen Siebert
vobject at steffensiebert.de
Thu Jun 12 03:22:34 CDT 2008
Jeffrey Harris schrieb:
> Hi Steffen,
>
>> card = vobject.readOne(VCARD)
>> card.setBehavior(vobject.vcard.VCard3_0, True)
>> print card.n.value
>> print card.n.behavior
>> print card.n.given
>
> I'm sorry. I omitted a step.
>
> After you do setBehavior, you need to do
>
> card.transformChildrenToNative()
Using this card.n.given still didn't work, but card.n.value.given does.
Many thanks,
Steffen
More information about the VObject
mailing list