Hello,
I am trying to append an address to the XML before sending an edit/
update request.
Here is what i have got
$addr = $gcontact->xml->addChild('gd:structuredPostalAddress');
$addr->addChild('gd:formattedAddress', $formatted_address);
$addr->addAttribute('primary', true);
echo 'after setaddress xml: '.$gcontact->xml->saveXML();
however, saveXML does not reflect the address and does not even
contain gd:structuredPostalAddress
Jim
--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html