Subject: Re: [xsl] grouping + global variable (?) (was re: regexs, grouping (?) and XSLT2?) From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Thu, 12 Aug 2004 20:18:37 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] grouping + global variable (?, Bruce D'Arcus | Thread | Re: [xsl] grouping + global variabl, Bruce D'Arcus |
[xsl] Grouping question, Nishma Jain | Date | Re: [xsl] Need exactly 23 rows of o, J.Pietschmann |
Month |