Lines Matching full:d

60         $xml->registerXPathNamespace('d','urn:DAV');
62 list($data) = $xml->xpath('/d:multistatus/d:response/d:href');
65 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:resourcetype');
86 $xml->registerXPathNamespace('d','urn:DAV');
88 list($data) = $xml->xpath('/d:multistatus/d:response/d:href');
91 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:getcontentlength');
99 <d:propfind xmlns:d="DAV:">
100 <d:prop>
101 <d:supportedlock />
102 </d:prop>
103 </d:propfind>';
109 $xml->registerXPathNamespace('d','urn:DAV');
111 … $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supportedlock/d:lockentry');
112 $this->assertEquals(2,count($data),'We expected two \'d:lockentry\' tags');
114 …$data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supportedlock/d:lockentry/d:loc…
115 $this->assertEquals(2,count($data),'We expected two \'d:lockscope\' tags');
117 …$data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supportedlock/d:lockentry/d:loc…
118 $this->assertEquals(2,count($data),'We expected two \'d:locktype\' tags');
120 …$data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supportedlock/d:lockentry/d:loc…
121 $this->assertEquals(1,count($data),'We expected a \'d:shared\' tag');
123 …$data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supportedlock/d:lockentry/d:loc…
124 $this->assertEquals(1,count($data),'We expected a \'d:exclusive\' tag');
126 …$data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:supportedlock/d:lockentry/d:loc…
127 $this->assertEquals(2,count($data),'We expected two \'d:write\' tags');
133 <d:propfind xmlns:d="DAV:">
134 <d:prop>
135 <d:lockdiscovery />
136 </d:prop>
137 </d:propfind>';
143 $xml->registerXPathNamespace('d','urn:DAV');
145 $data = $xml->xpath('/d:multistatus/d:response/d:propstat/d:prop/d:lockdiscovery');
146 $this->assertEquals(1,count($data),'We expected a \'d:lockdiscovery\' tag');
153 <d:propfind xmlns:d="DAV:">
154 <d:prop>
155 <d:macaroni />
156 </d:prop>
157 </d:propfind>';
162 $xml->registerXPathNamespace('d','urn:DAV');
164 '/d:multistatus',
165 '/d:multistatus/d:response',
166 '/d:multistatus/d:response/d:propstat',
167 '/d:multistatus/d:response/d:propstat/d:status',
168 '/d:multistatus/d:response/d:propstat/d:prop',
169 '/d:multistatus/d:response/d:propstat/d:prop/d:macaroni',
175 $val = $xml->xpath('/d:multistatus/d:response/d:propstat/d:status');
184 <d:propertyupdate xmlns:d="DAV:" xmlns:s="http://sabredav.org/NS/test">
185 <d:set><d:prop><s:someprop>somevalue</s:someprop></d:prop></d:set>
186 <d:remove><d:prop><s:someprop2 /></d:prop></d:remove>
187 <d:set><d:prop><s:someprop3>removeme</s:someprop3></d:prop></d:set>
188 <d:remove><d:prop><s:someprop3 /></d:prop></d:remove>
189 </d:propertyupdate>';