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

Re: xmlspec.xsl needs to change

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 05 Jun 2002 12:09:11 +0100
To: Philippe Le Hegaret <plh@w3.org>
Cc: spec-prod@w3.org
Message-ID: <f5bbsaqkmnc.fsf@cogsci.ed.ac.uk>

I've changed my xmlspec.dtd and xmlspec.xsl as follows in accordance
with this change:

<!ENTITY % header.mdl
        "title, subtitle?, version?, w3c-designation, w3c-doctype,
        pubdate, notice*, publoc, ((prevlocs, latestloc?) |
        (latestloc, prevlocs?))?, otherlocs?, authlist, copyright?,
        ((status, abstract) | (abstract, status)), pubstmt?,
        sourcedesc?, langusage, revisiondesc">
. . .
<!ELEMENT otherlocs (%p.pcd.mix;)*>
<!ATTLIST otherlocs %common.att;>

  <xsl:template match="header">
    . . .
        <xsl:apply-templates select="publoc"/>
        <xsl:apply-templates select="latestloc"/>
        <xsl:apply-templates select="prevlocs"/>
        <xsl:apply-templates select="authlist"/>

      <xsl:apply-templates select="otherlocs"/>

  . . .

  <!-- otherlocs: other (non-normative) locations for this spec -->

  <xsl:template match="otherlocs">

I decided _not_ to freeze the boilerplate, but we could do that, along 
with the usual plural hack.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-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 Wednesday, 5 June 2002 07:09:38 UTC

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