- From: Michael Kay <mike@saxonica.com>
- Date: Thu, 10 Nov 2016 12:19:45 +0000
- To: Carine Bournez <carine@w3.org>
- Cc: Public XSLWG <public-xsl-wg@w3.org>, Andrew Coleman <andrew_coleman@uk.ibm.com>
> > 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