|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: key using a number of siblings
Franklin,
At 05:13 PM 11/13/2002, you wrote: I have data that looks like Oo. Is there an elegant way to do this? The cleanest approach to this I can think of is to pass twice, first to process your <w> combinations into their full "words", the second to key them and do whatever you're doing. This could be done in a way that wouldn't mess too much with the data if the first pass worked to introduce a wrapper, so <w>a</w> <w><f type="completion">b</f></w> <w><f type="completion">c</f></w> would appear as <word key="a+b+c"> <w>a</w> <w><f type="completion">b</f></w> <w><f type="completion">c</f></w> </word> This would require a "levitation" algorithm (i.e. a grouping to unflatten the hierarchy) to collect the <w> elements properly. Your problem as stated must be the Puzzler of the Week; I wonder if someone can come up with something (but methinks it can't be done). I hope this helps, Wendell
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
|

Cart








