[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: configuring a conditional
On May 23, 2005, at 8:24 AM, David Carlisle wrote:
Now my question is, how would I actually implement this in the XSLT? Feel free to suggest better names. I'm not at all religious about any of this; just want something that works well. <rule when-more-than="2" and-less-than="6" In English "when-more-than" refers to "when there are more than X number of names with an author-like/creator role." and-position="subsequent" To the first occurrence of the citation in the text. So APA says, for example, that when you have less than six authors in a citation, the first occurrence in the text should list them all, and then all subsequent should list the first + "et al." Aside: I've still not worked out HOW to deal with this first/subsequent business generally. It's an issue too with footnoted citations. In both cases the first occurrence is basically the long form, and the rest are shortened. and-position="first" Ditto. use-first="1" Use the first 1 author names. I use that somewhat awkward name because some styles say to use the first 3, or 6, or whatever. <renderas font-style="italic">et al.</renderas> Remember, this part is just the styling language, where I use this sort of convention throughtout; e.g.: <title font-style="italic"> <suffix>.</suffix> </title> In the XSLT, it could certainly be separate steps. Bruce
|
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
|