[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: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Thu, 12 Aug 2004 16:56:19 -0400
Re:  grouping + global variable (?) (was re: regexs
On Aug 12, 2004, at 3:18 PM, Jeni Tennison wrote:

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.

OK. I understand this conceptually, but I never understood how to create -- and to access -- this "intermediate version".


Mike's explanation was:

It may be simplest to start by generating a copy of the bibliography in which the list of authors (Doe and Jones) and the year/serial (1999b) appear as additional computed child elements or attributes, and then working with this copy.

Again, I understand this in the abstract; I just don't get the specifics behind the verbs "generating" and "working with" here.


How am I generating this "copy", in other words? Should I, for example, be using the new temporary tree functionality? Within the context of a variable? Something else?

I'm pulling my hair out trying to understand this :-)

Bruce

PS - My denseness is no doubt a function of the fact that my day job has nothing at all to do with programming; thanks for the patience!

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.