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

Re: grouping + global variable (?) (was re: regexs, g

Subject: Re: grouping + global variable (?) (was re: regexs, grouping (?) and XSLT2?)
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 12 Aug 2004 20:18:37 +0100
Re:  grouping + global variable (?) (was re: regexs
Hi Bruce,

> So, basically, I need a way to specify to somehow use the same
> suffix calculation in the citation and the bib entry. Ideally, I
> want to just be able to do a <xsl:value-of select="$suffix"/>
> whether I am formatting the citation or the bibliography.

I think you need to use Mike's suggestion of building an intermediate
version of the bibliography. Use the grouping method to create copies
of the <mods> elements, adding a "year" attribute (or something) that
holds the appropriate year + suffix. Then, when generating the
bibliography or list of citations, you only need to pull in the value
of this 'year' attribute.

I haven't got time to go into more detail right now, but hopefully
that will get you on track.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

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.