RE: [xsl] XSL taking very long

Subject: RE: [xsl] XSL taking very long
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 26 Aug 2004 22:47:56 +0100
> The output I want is a table with
> 
> item_id | title_txt | category  // grouped by category
> 
> Should I use Keys instead?

Yes: you should be using Muenchian grouping. The construct

//vform[not(Category=preceding::vform/Category)]

is very inefficient.

If the vform elements are at the same level in the tree, you could get a
good boost by using preceding-sibling instead of preceding.

Michael Kay

Current Thread