> Why not: > > /stuff.json?depth=1 > > It's not like we need to use the URI mapping for everything. because this breaks caching.
however, i think there are actually 2 use cases. the first is that you need the deep serialization of a tree, e.g. a page, or an exploded xml, or a dialog node structure description.... in this case you always want a depth=infinity. the other one is the 'browsing' use case where you only need the node and it's properties (and the names of the childnodes!). so this is a special case anyways. this would be like depth=0.5 :-) so is there really a use case for depth=0 (i.e. node+properties) ? or is depth=0 just the node name, depth=1 the node name and it's properties and it's childnode names? etc. ? regards, toby -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
