W3C home > Mailing lists > Public > spec-prod@w3.org > April to June 2003

Re: Auto-generated Bibliographies

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 16 Jun 2003 10:26:07 +0100
To: Dominique HazaŽl-Massieux <dom@w3.org>
Cc: Joseph Reagle <reagle@w3.org>, spec-prod@w3.org
Message-ID: <f5bd6heidao.fsf@erasmus.inf.ed.ac.uk>
Dominique HazaŽl-Massieux <dom@w3.org> writes:

> The real data are at:
> 	http://www.w3.org/2002/01/tr-automation/tr.rdf

Any chance of getting a stable ID on each of the entries in that
document?  Then I'll put together a two - stage XML Pipeline (XInclude
plus XSLT) which will give everybody exactly what they want.

Something of the form
  . . . id="http:__www.w3.org_TR_2001_REC-SVG-20010904"
would do the job.

The following template will add this to the existing doc't:

<xsl:template match="/rdf:RDF/*[@rdf:about]">
  <xsl:attribute name="id">
   <xsl:value-of select="translate(@rdf:about,'/','_')"/>
  <xsl:apply-templates select="@*|node()"/>

but it would be better to include this functionality somewhere in the
production process -- I couldn't quite figure out where that should be.

[Note that the nice overview at [1] is not quite as useful as it might
be, because lots of the links therein are broken :-(]


[1] http://www.w3.org/2002/01/tr-automation/
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Monday, 16 June 2003 05:26:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:17 UTC