On Wed, Nov 18, 2009 at 4:54 PM, Carsten Ziegeler <[email protected]> wrote: > ...the xml renderer currently just uses the xml export from the > repository. Therefore you get the full tree...
Note that that's not really by design, it's more like we left the implementation of controlled depth for later...the XMLRendererServlet [1] simply uses the JCR Session exportDocumentView/exportSystemView methods, which don't support depth limitation. Those methods do support "no recursion at all" though, so we could at least implement this based on a selector like for json. -Bertrand [1] http://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/XMLRendererServlet.java
