This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Generating numbering for cross-references (LONG)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]