[Vobject] How to split name values?

Jeffrey Harris jeffrey at osafoundation.org
Wed Jun 11 16:17:47 CDT 2008


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

Sincerely,
Jeffrey


More information about the VObject mailing list