tree-dynamic.xql