| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <request xmlns="http://cocoon.apache.org/webdav/1.0" |
| xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" |
| |
| target="webdav://root:hippo@localhost:60000/maxdev/files" |
| method="SEARCH"> |
| <header name="Depth" value="infinity"/> |
| <body> |
| <D:searchrequest xmlns:D="DAV:"> |
| <D:basicsearch> |
| <D:select> |
| <D:allprop/> |
| </D:select> |
| <D:from> |
| <D:scope> |
| <D:href></D:href> |
| <D:depth>infinity</D:depth> |
| </D:scope> |
| </D:from> |
| <D:where> |
| <D:eq> |
| <D:prop><D:getcontenttype/></D:prop> |
| <D:literal>text/xml</D:literal> |
| </D:eq> |
| </D:where> |
| <D:orderby> |
| <D:order> |
| <D:prop> |
| <D:getcontentlength/> |
| </D:prop> |
| <D:ascending/> |
| </D:order> |
| <D:order> |
| <D:prop> |
| <D:getcontenttype/> |
| </D:prop> |
| <D:ascending/> |
| </D:order> |
| </D:orderby> |
| <D:limit> |
| <D:nresults>4</D:nresults> |
| </D:limit> |
| </D:basicsearch> |
| </D:searchrequest> |
| </body> |
| </request> |