|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Displaying Unique attribute value
Hi,
At 10:12 AM 10/29/2008, Syd wrote: I think maybe I don't understand the desired input & output quite correctly here. I would have thought something like It depends on the processor, but generally, yes it is. A processor might well not have the smarts to avoid collecting all the @page-num attributes on all the preceding elements that have one, before it looks at the first. If you do this very much, that could be many checks back through the entire document. The "grouping approach" (which is really misnamed since the essence of the Muenchian method isn't in the grouping as such, but in the analysis of distinct values, which is the harder part) will tend to be more efficient. This is because it works, in effect, by pre-indexing the tree (that's what the key does), allowing for quick retrieval. There's no reason a processor couldn't do this by itself, or optimize the check on the preceding:: axis in some other way. For example, one can readily envision a TEI-specialized XSLT engine that would do special things with TEI input and/or recognize certain TEI-specific idioms in XSLT code, in order to do TEI things really fast. :-> Cheers, Wendell
|
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








