View Source Excalt.XML.Parser (Excalt v0.1.2)

Parses the xml responses from the CalDav server.

Link to this section Summary

Functions

Parse the list of principals returned by the caldav server.

Same as parse_calendars/1, but raises errors

Parse the list of events returned by the caldav server.

Same as parse_events/1, but raises errors

Parse the list of principals returned by the caldav server.

Same as parse_principals/1, but raises errors

Parse the list of todos returned by the caldav server.

Same as parse_todos/1, but raises errors

Link to this section Functions

Link to this function

parse_calendars(xml_doc)

View Source

Parse the list of principals returned by the caldav server.

Link to this function

parse_calendars!(xml_doc)

View Source

Same as parse_calendars/1, but raises errors

@spec parse_events(String.t()) :: {:ok, [Excalt.Event.t()] | nil} | {:error, any()}

Parse the list of events returned by the caldav server.

@spec parse_events!(String.t()) :: [Excalt.Event.t()] | no_return()

Same as parse_events/1, but raises errors

Link to this function

parse_principals(xml_doc)

View Source

Parse the list of principals returned by the caldav server.

Link to this function

parse_principals!(xml_doc)

View Source

Same as parse_principals/1, but raises errors

Parse the list of todos returned by the caldav server.

Same as parse_todos/1, but raises errors