W3C home > Mailing lists > Public > public-xsl-wg@w3.org > November 2016

Re: HTML5 conversion : progress report

From: Michael Kay <mike@saxonica.com>
Date: Thu, 10 Nov 2016 12:19:45 +0000
Cc: Public XSLWG <public-xsl-wg@w3.org>, Andrew Coleman <andrew_coleman@uk.ibm.com>
Message-Id: <3818AAD0-A9A2-4AA9-BD46-8818A2CF881B@saxonica.com>
To: Carine Bournez <carine@w3.org>
> 
> Thanks Mike.
> 
> I have tried pubrules on the result, it's complaining that the process revision
> sentence is missing the id 
> 
> I suggest this addition to the 'loc' template in xmlspec-2016.xsl:
> 
>    <xsl:if test="@id">
>       <xsl:attribute name="id">
>         <xsl:value-of select="@id"/>
>       </xsl:attribute>
>    </xsl:if>
>    <xsl:if test="@rel">
>       <xsl:attribute name="rel">
>         <xsl:value-of select="@rel"/>
>       </xsl:attribute>
>    </xsl:if>
> 
> And put an id in the <loc> element:
> <loc id="w3c_process_revision" 
> href="https://www.w3.org/2015/Process-20150901/">
> 
> The 'rel' attribute is used in the <loc> element for the status of 
> patent disclosures (currently removed at the html generation, the pubrules
> checker is going to complain about its absence).
> 
> May I check in this into xmlspec-2016.xsl?
> 

Sure. Please CVS Update first, I made a few minor changes.

Michael Kay
Saxonica
Received on Thursday, 10 November 2016 12:20:15 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 10 November 2016 12:20:15 UTC