Re: [Evolution-hackers] Creating iCal components



Whoops! The above mail was supposed to be for the author of libical docs. But if anyone here knows the answer, then great! :)

On 8/1/06, Teresa Thomas < tere ertw gmail com> wrote:
Hi

I have a question regarding libical. Since you authored the documentation, I figured you would know!

Suppose my iCal string contains multiple events ie, looks as follows:
BEGIN:VCALENDAR
...
BEGIN:VEVENT
...
END:VEVENT
BEGIN:VEVENT
...
END:VEVENT
END:VCALENDAR

I'm using the icalcomponent* icalcomponent_new_from_string(char* str) function to parse it. According to the libical documentation "If the string contains multiple components, the multiple components will be returned as the children of an ICAL_XROOT_COMPONENT component."

What functions can I use to access these children vevent components? Code snippets would be great.

Thanks!

Regards,
Teresa




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]