From: Marc P. <ma...@an...> - 2003-04-21 12:55:57
|
On Sun, 20 Apr 2003 17:20:36 -0700, Brian Goetz <br...@qu...> wrote: >> I think it's time we found the right "tree" solution for WM. > > If traversing XML trees is your goal -- which I think is a reasonable > restriction of the general goal -- I think some sort of XPath context > tool will do it. > > XPath takes a query and returns a list of nodes. The returned list is > linear, so you can iterate over it with #foreach. Yes. [snip] > This seems the right solution to me. Leverage an existing XML-slicing > mechanism, wrap DOM nodes with objects so they play nice with WM, and > we're done. Please see my new thread "WM and traversing trees" -- Marc Palmer (Wangjammer5) http://www.wangjammers.org Java Consultants |