<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:bes="bestelling.nl">
	
	<xsl:import href="identity.xsl"></xsl:import>

	<xsl:template match="bes:aantal">
		<xsl:copy-of select="."/>
		<xsl:if test="../bes:aantal > 1">
			<totaal>
				<xsl:value-of select="../bes:aantal * ../bes:prijs"/>
			</totaal>
		</xsl:if>
	</xsl:template>

</xsl:stylesheet>