[ttml2] fix pubrules take two
authorGlenn Adams <glenn@skynav.com>
Mon, 09 Feb 2015 15:55:46 -0700
changeset 872 aef4508f976d
parent 871 255dc81468e9
child 873 56211929569d
[ttml2] fix pubrules take two
ttml2/spec/status.xml
ttml2/spec/xmlspec-ttml2.xsl
--- a/ttml2/spec/status.xml	Mon Feb 09 15:47:35 2015 -0700
+++ b/ttml2/spec/status.xml	Mon Feb 09 15:55:46 2015 -0700
@@ -33,5 +33,5 @@
 Claim(s)</loc> must disclose the information in accordance with <loc
 href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
 6 of the W3C Patent Policy</loc>.</p>
-<p id="w3c_process_revision">This document is governed by the <loc href="http://www.w3.org/2014/Process-20140801/">1 August 2014 W3C Process Document</loc>. </p>
+<p>This document is governed by the <loc id="w3c_process_revision" href="http://www.w3.org/2014/Process-20140801/">1 August 2014 W3C Process Document</loc>. </p>
 </status>
--- a/ttml2/spec/xmlspec-ttml2.xsl	Mon Feb 09 15:47:35 2015 -0700
+++ b/ttml2/spec/xmlspec-ttml2.xsl	Mon Feb 09 15:55:46 2015 -0700
@@ -431,6 +431,11 @@
 <!-- loc: a Web location -->
 <xsl:template match="loc">
   <a href="{@href}">
+    <xsl:if test="@id">
+      <xsl:attribute name="id">
+	<xsl:value-of select="@id"/>
+      </xsl:attribute>
+    </xsl:if>
     <xsl:if test="@role">
       <xsl:attribute name="rel">
 	<xsl:value-of select="@role"/>