diff options
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> |