This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Generating numbering for cross-references (LONG)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Generating numbering for cross-references (LONG)
- From: Peter Flynn <peter at silmaril dot ie>
- Date: Sat, 20 Oct 2001 19:44:08 +0100
- Organization: Silmaril Consultants
- References: <5.1.0.14.0.20011017231514.00a675a0@mail.maden.org>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks to the many people who replied pointing out the way to divide
the task between selection and enumeration. I was so hung up on the
idea that it could be done in a single statement I hadn't spotted that.
Dave Pawson wrote:
> Or be really smart and use the docbook style, where it gets
> the title as well as the number!
Getting the title is easy. What's important from an automation
point of view (remember I am dealing with authors in the
Humanities, not computer scientists) is that a reference
produces the name of the class of object referenced (eg
See <ref to="foo"/> where foo is the ID of a figure should
produce See Figure 27. Fortunately this is also not difficult.
///Peter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list