Re: most efficient flat file listing to hierarchical
> agreed, though there are more performant solutions over others, mine in particular wasn't particularly efficient as written as it executes ../item each time rather than using a key just to get the items that have a chance of being in the currrent directory. That could be fixed, but see recent thread on Re: opinion re flexible style vs speed :-) You could easily add some keys (especially in xslt2 where its easier to break up the paths) but then it would look rather more like the other solutions, David
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format