[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: topological sort
Hmm, interesting. I guess that both approaches are based on the idea of "levels", where level 1 = nodes w/no dependencies level 2 = nodes that depend on level 1 (only) level 3 = nodes that depend on level 2 (and maybe also level 1) level 4 = nodes that depend on level 3 (and maybe also levels 1 or 2) With the solution I suggested I think you could get a stable sort by specifying a secondary sort key on position(). Bill Dimitre Novatchev wrote: >See also: > > http://aspn.activestate.com/ASPN/Mail/Message/xsl-list/955081 > >and > > http://aspn.activestate.com/ASPN/Mail/Message/xsl-list/956248 > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|