view gpf/util/sape/xslt/docID.xsl @ 24:8c123ecfcb52

g23m/pdt_2091.mak: use gsm_ds_k5a3281_big.template, same as 2092
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 07 Sep 2015 18:10:01 +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>