W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 2002

RE: New release of XML Spec DTD/Stylesheets

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 16 Sep 2002 18:52:31 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453DB78@daemsg02.software-ag.de>
To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>, "Kay, Michael" <Michael.Kay@softwareag.com>
Cc: "'Norman Walsh'" <Norman.Walsh@Sun.COM>, spec-prod@w3.org

> I think xspecref is there for offboard references -- I use 
> that for the refs between parts 1 and 2 of XML Schema.

That's a different scenario from mine. I'm not holding links from one
document to another, I'm generating fragments of xmlspec documents from data
files and then trying to render these fragments as structured appendices in
the spec. 

I'm just asking for this template rule to be split into two to ease
customisation: it currently performs two functions, (a) following of a
cross-reference to find a target element, and (b) rendering a reference to a
target element; and with my customisations of the DTD, it would be very
useful to be able to access these two pieces of functionality separately.
Doing so would substantially reduce the amount of code in my stylesheet
customisation layer.

Looking at it again, it would be even better if the big xsl:choose statement
were turned into an apply-templates with a special mode: then the way that
cross-references to each element type are rendered could be customized

Michael Kay
Received on Monday, 16 September 2002 12:53:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:09 UTC