- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 15 Jul 2010 15:36:19 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv22599/tools Modified Files: generate-spec-source.xsl Log Message: removed all "Linked-data semantics" subsections (bug 10083) Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.264 retrieving revision 1.265 diff -u -d -r1.264 -r1.265 --- generate-spec-source.xsl 12 Jul 2010 17:34:57 -0000 1.264 +++ generate-spec-source.xsl 15 Jul 2010 15:36:17 -0000 1.265 @@ -1297,12 +1297,6 @@ </xsl:call-template> <xsl:text> </xsl:text> <!-- * ***************************************************************** --> - <!-- * * MAKE "LINKED-DATA SEMANTICS" SECTION --> - <!-- * ***************************************************************** --> - <xsl:call-template name="make.linked-data.section"> - <xsl:with-param name="name" select="$name"/> - </xsl:call-template> - <!-- * ***************************************************************** --> <!-- * * MAKE "CHANGES" SECTION --> <!-- * ***************************************************************** --> <xsl:call-template name="make.changes.section"> @@ -1701,93 +1695,6 @@ </xsl:template> <!-- * ***************************************************************** --> - <!-- * * MAKE THE "LINKED-DATA SEMANTICS" SECTION --> - <!-- * ***************************************************************** --> - <xsl:template name="make.linked-data.section"> - <xsl:param name="name"/> - <xsl:if test=" - ($name='a' - or $name='area' - or $name='audio' - or $name='embed' - or $name='iframe' - or $name='img' - or $name='link' - or $name='object' - or $name='source' - or $name='video') - or - document(concat('../elements/',$name,'.html'))//h:div[@id='linked-data']"> - <div class="no-number no-toc linked-data" id="{$name}-linked-data"> - <xsl:text> </xsl:text> - <h2 class="element-subhead">Linked-data semantics</h2> - <xsl:choose> - <xsl:when test=" - $name='a' - or $name='area' - or $name='audio' - or $name='embed' - or $name='iframe' - or $name='img' - or $name='link' - or $name='object' - or $name='source' - or $name='video' - "> - <xsl:variable name="attr"> - <xsl:choose> - <xsl:when test=" - $name='audio' - or $name='embed' - or $name='iframe' - or $name='img' - or $name='source' - or $name='video' - ">src</xsl:when> - <xsl:when test=" - $name='a' - or $name='area' - or $name='link' - ">href</xsl:when> - <xsl:when test="$name='object' ">data</xsl:when> - </xsl:choose> - </xsl:variable> - <p>The - <a href="#{$name}" class="element"> - <xsl:value-of select="$name"/> - </a> - element, through its - <a href="#{$name}.attrs.{$attr}" class="attribute"> - <xsl:value-of select="$attr"/> - </a> - attribute in combination with other - linked-data/metadata markup mechanisms, provides a - ready means for expressing semantic associations - with external content.</p> - <p>For example, in the Microdata metadata-markup - mechanism, specifying one or more named properties - using the Microdata - <span class="attribute">itemprop</span> - attribute on the - <a href="#{$name}" class="element"> - <xsl:value-of select="$name"/> - </a> - element associates those named properties with the - external content represented by the value of the - <a href="#{$name}.attrs.{$attr}" class="attribute"> - <xsl:value-of select="$attr"/> - </a> - attribute (if any).</p> - </xsl:when> - <xsl:when test="document(concat('../elements/',$name,'.html'))//h:div[@id='linked-data']"> - <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='linked-data']/node()"/> - </xsl:when> - </xsl:choose> - </div> - </xsl:if> - </xsl:template> - - <!-- * ***************************************************************** --> <!-- * * MAKE THE "CONTEXT" SECTION --> <!-- * ***************************************************************** --> <xsl:template name="make.context.section">
Received on Thursday, 15 July 2010 15:36:25 UTC