<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Performance guide-lines for XSL-T development</title>
	<atom:link href="http://technology.amis.nl/2004/09/30/performance-guide-lines-for-xsl-t-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2004/09/30/performance-guide-lines-for-xsl-t-development/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=performance-guide-lines-for-xsl-t-development</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: harm</title>
		<link>http://technology.amis.nl/2004/09/30/performance-guide-lines-for-xsl-t-development/#comment-896</link>
		<dc:creator>harm</dc:creator>
		<pubDate>Tue, 05 Oct 2004 14:21:21 +0000</pubDate>
		<guid isPermaLink="false">/?p=181#comment-896</guid>
		<description><![CDATA[Indeed, the Muenchian method for grouping data is very usable when you want to group nodes using xsl version 1.0. Also, notice how he make use of the key element and function to improve the performance of the stylesheet (point 5 in my blog).

As of xsl version 2.0 a new grouping element is added to the language:

&lt;code&gt;&lt;xsl:for-each-group select=&#039;an/XPath/expression&#039; group-by=&#039;.&#039;&gt;&lt;/code&gt;
   &lt;code&gt;&lt;xsl:apply-templates select=&#039;current-group()&#039;/&gt;&lt;/code&gt;
&lt;code&gt;&lt;xsl:for-each-group&gt;&lt;/code&gt;

or

&lt;code&gt;&lt;xsl:for-each-group select=&#039;an/XPath/expression&#039; group-starting-with=&#039;.&#039;&gt;&lt;/code&gt;
   &lt;code&gt;   &lt;xsl:apply-templates select=&#039;current-group()&#039;/&gt;&lt;/code&gt;
&lt;code&gt;&lt;xsl:for-each-group&gt;&lt;/code&gt;


If you compare this method with the Muenchian method (click the hyperlink in Lucas&#039; comment), you&#039;ll see that this addition requires less complex coding.

Also, in xsl version 2.0, you will have the advantage of new grouping functions: current-group() with returns the current group node selected by previous for-each-group.

In fact, I was planning to elaborate on this new feature during a KC Server Dev. &amp; Prog. Lang. meeting in the next months.]]></description>
		<content:encoded><![CDATA[<p>Indeed, the Muenchian method for grouping data is very usable when you want to group nodes using xsl version 1.0. Also, notice how he make use of the key element and function to improve the performance of the stylesheet (point 5 in my blog).</p>
<p>As of xsl version 2.0 a new grouping element is added to the language:</p>
<p><code>&lt;xsl:for-each-group select='an/XPath/expression' group-by='.'></code><br />
   <code>&lt;xsl:apply-templates select='current-group()'/></code><br />
<code>&lt;xsl:for-each-group></code></p>
<p>or</p>
<p><code>&lt;xsl:for-each-group select='an/XPath/expression' group-starting-with='.'></code><br />
   <code>   &lt;xsl:apply-templates select='current-group()'/></code><br />
<code>&lt;xsl:for-each-group></code></p>
<p>If you compare this method with the Muenchian method (click the hyperlink in Lucas&#8217; comment), you&#8217;ll see that this addition requires less complex coding.</p>
<p>Also, in xsl version 2.0, you will have the advantage of new grouping functions: current-group() with returns the current group node selected by previous for-each-group.</p>
<p>In fact, I was planning to elaborate on this new feature during a KC Server Dev. &#038; Prog. Lang. meeting in the next months.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://technology.amis.nl/2004/09/30/performance-guide-lines-for-xsl-t-development/#comment-895</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Tue, 05 Oct 2004 09:43:08 +0000</pubDate>
		<guid isPermaLink="false">/?p=181#comment-895</guid>
		<description><![CDATA[Tips for Sorting and Grouping data in XSLT: Steve Muench of Oracle Corporation conceived of a very elegant, initially somewhat complex and very efficient way of sorting and grouping data in XML, using xsl:key. An example and introduction of this &#039;Muenchian&#039; method is &lt;a href=&quot;http://www.dehora.net/wiki.cgi/MuenchMethodXslt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;found here&lt;/a&gt;. An alternative approach is described in this tutorial from &lt;a href=&quot;http://maple.cc.kcl.ac.uk/XSLT/chap5/&quot; target=&quot;_blank&quot;  rel=&quot;nofollow&quot;&gt;King&#039;s College, London&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Tips for Sorting and Grouping data in XSLT: Steve Muench of Oracle Corporation conceived of a very elegant, initially somewhat complex and very efficient way of sorting and grouping data in XML, using xsl:key. An example and introduction of this &#8216;Muenchian&#8217; method is <a href="http://www.dehora.net/wiki.cgi/MuenchMethodXslt" target="_blank" rel="nofollow">found here</a>. An alternative approach is described in this tutorial from <a href="http://maple.cc.kcl.ac.uk/XSLT/chap5/" target="_blank"  rel="nofollow">King&#8217;s College, London</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
