blob: 36117c16a74333171ba6b5c011a2b847edf8a2a3 [file] [log] [blame]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- CaseName: numbering63 -->
<!-- Author: David Marston -->
<!-- Purpose: Count all levels of changes and number by level, level=single. -->
<!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[2]/item[1]/p[1]/text()[5]" -->
<!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[2]/p[1]/text()[1]" -->
<!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[3]/p[1]/text()[1]" -->
<!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/ulist[1]/item[1]/p[1]/text()[1]" -->
<!-- Scenario: operation="standard-XML" -->
<xsl:template match="doc">
<out><xsl:apply-templates/></out>
</xsl:template>
<xsl:template match="title">
<xsl:number level="single" from="a" count="a|b|c|d|e" format="1"/><xsl:text>: </xsl:text><xsl:value-of select="."/><xsl:text>
</xsl:text>
</xsl:template>
<xsl:template match="text()"><!-- To suppress empty lines --><xsl:apply-templates/></xsl:template>
</xsl:stylesheet>