[xsl] Re: followup on multi-level grouping/sorting/position

Subject: [xsl] Re: followup on multi-level grouping/sorting/position
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Thu, 28 Apr 2005 09:17:41 -0400
Correction:

The problem is that the below code yields the following message with my sample document:

<ref id="TimesP2001a" author-year_pos="1" shorten="false"/>
<ref id="Veer1996a" author-year_pos="1" shorten="false"/>
<ref id="Tilly2000a" author-year_pos="1" shorten="false"/> *
<ref id="Tilly2002a" author-year_pos="2" shorten="true"/> *
<ref id="NW2000-0207" author-year_pos="1" shorten="false"/> *
<ref id="NW2000-0424a" author-year_pos="1" shorten="false"/> *
<ref id="Tremblay2001a" author-year_pos="1" shorten="false"/>
<ref id="Thrift1990a" author-year_pos="1" shorten="false"/>
<ref id="Tilly2000a" author-year_pos="1" shorten="false"/>

The issue is that while the author-year position is being correctly reported, the "shorten-author" parameter is not correctly reported (the ref with the id of NW2000-0424a" should have @shorten="true" because it is the second of two references in a citation with an "author" of Newsweek).

Actually, neither are correctly reported. Tilly2000a and Tilly2002a belong to the same author group, but not the same author-year group. The author-year_pos attribute thus ought to be 1 for both of them. The shorten attribute value is correct.


Conversely, NW2000-0207 and NW2000-0424a below to both the same author group and the author-year group. So, the second should have author-year_pos="2", but also shorten="true". If I change the year for that second item, then shorten becomes true. So while I'm wanting to measure the position there solely within the author group, it in fact is being dependent as well on year.

Bruce

Current Thread