I suggest to impose that Node.getPath() returns path that ends with '/' when the node is a collection. This should help building string representation of paths. WDYT? Evaldas -- +41 79 616 53 76 Optaros - www.optaros.com