view gpf/util/sape/xslt/docID.xsl @ 164:10fc1fb079d7

dl1_com.c: starting with an import of l1_isr_glue.c from gcc version
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 Jun 2016 04:59:26 +0000
parents 509db1a7b7b8
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<!-- template to format a complete document ID expression-->
	<xsl:template match="DocHistory" mode="DocID">
		<xsl:value-of select="../DocNum/@Project"/>
		<xsl:text>.</xsl:text>
		<xsl:value-of select="../DocNum/@Number"/>
		<xsl:text>.</xsl:text>
		<xsl:value-of select="./DocVersion/@Year"/>
		<xsl:text>.</xsl:text>
		<xsl:value-of select="./DocVersion/@Number"/>
	</xsl:template>
</xsl:stylesheet>