Re: xmlspec.xsl needs to change

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">
    . . .
      <dl>
        <xsl:apply-templates select="publoc"/>
        <xsl:apply-templates select="latestloc"/>
        <xsl:apply-templates select="prevlocs"/>
        <xsl:apply-templates select="authlist"/>
      </dl>

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

  . . .

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

  <xsl:template match="otherlocs">
    <p>
      <xsl:apply-templates/>
    </p>
  </xsl:template>

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

ht
-- 
  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