[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: followup on multi-level grouping/sorting/position

Subject: Re: followup on multi-level grouping/sorting/position
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Thu, 28 Apr 2005 09:17:41 -0400
arcus 28
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.