Re: [xsl] Generating numbering for cross-references (LONG)

Subject: Re: [xsl] Generating numbering for cross-references (LONG)
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Sat, 20 Oct 2001 19:44:08 +0100
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


Current Thread