| Wednesday 13 August 2003 11:57:55 pm 
                                                                 
In my experience, there is a world of difference (at least on SVN2703). 'list' only returns items from the current folder.
 'tree' returns items from the current folder AND all subfolders.
 
For example:If you have the following structure:
 
Folder 1--Article A
 --Article B
 --Folder 1A
 ----Article 1Aa
 ----Article 1Ab
 
fetch(content,list,hash(parent_node_id, <Folder 1>.node_id))}your resultset will include the objects
 Article A
 Article B
 Folder 1A
 
fetch(content,tree,hash(parent_node_id, <Folder 1>.node_id))}your resultset will include the objects
 Article A
 Article B
 Folder 1A
 Article 1Aa
 Article 1Ab
 This tree recursion also applies when you in/exclude certain classes from your fetch: 
For example if we exclude folders from the fetch:fetch(content,tree,hash(parent_node_id, <Folder 1>.node_id, class_filter_type,exclude,class_filter_array,array(1))}
 will return a resultset of
 Article A
 Article B
 Article 1Aa
 Article 1Ab
 Regards, Tristan |