diff options
author | James Lal <james@lightsofapollo.com> | 2012-06-27 16:58:05 +0200 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-06-27 16:58:05 +0200 |
commit | 5e731c14d9fca4e99ac73f020d69008431ef4f81 (patch) | |
tree | 297270d9a71a242ae368f2e4303fbcb63a50ed23 /samples/xml | |
parent | 24932d09294ab7a80b9c00ff505bc2823f1a65d1 (diff) | |
download | jsCalDAV-5e731c14d9fca4e99ac73f020d69008431ef4f81.tar.gz |
working calendar queries
Diffstat (limited to 'samples/xml')
-rw-r--r-- | samples/xml/propget.xml | 3 | ||||
-rw-r--r-- | samples/xml/req_calendar_query.xml | 15 |
2 files changed, 16 insertions, 2 deletions
diff --git a/samples/xml/propget.xml b/samples/xml/propget.xml index c8487b2..2db1aa2 100644 --- a/samples/xml/propget.xml +++ b/samples/xml/propget.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<D:multistatus xmlns:D="DAV:"> +<D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:response> @@ -40,5 +40,4 @@ </D:propstat> </D:response> - </D:multistatus> diff --git a/samples/xml/req_calendar_query.xml b/samples/xml/req_calendar_query.xml new file mode 100644 index 0000000..e983706 --- /dev/null +++ b/samples/xml/req_calendar_query.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<C:calendar-query xmlns:D="DAV:" + xmlns:C="urn:ietf:params:xml:ns:caldav"> + <D:prop> + <D:getetag /> + </D:prop> + <C:filter> + <C:comp-filter name="VCALENDAR"> + <C:comp-filter name="VEVENT"> + <C:time-range start="20120626T125608Z" + end="20120926T125608Z"/> + </C:comp-filter> + </C:comp-filter> + </C:filter> +</C:calendar-query> |