[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: grouping + global variable (?) (was re: regexs, g
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/
|
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
|