Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.509 kB
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text"/>
<xsl:template match="sect1|sect2|sect3">
<xsl:if test="not(@id)">
<xsl:message>No identifier in chapter '<xsl:value-of select="ancestor::chapter/@id"/>', section '<xsl:value-of select="title"/>'
</xsl:message>
</xsl:if>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="*|@*|text()">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
Jump to Line
Something went wrong with that request. Please try again.