<?xml version="1.0"?>
<!--
@author Last Changed:$Author: fbrodersen $
@version $Revision: 7898 $
@date $Date: 2011-04-28 14:52:08 +0200 (Do, 28 Apr 2011) $
-->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:bod="http://schema.infor.com/InforOAGIS/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="com.infor.tfs.mappings.extensions.XsltExt">
	<!---->
	<!-- imports -->
	<!---->
	<!-- template to insert -->
	<xsl:template name="VDAWeight">
		<!---->
		<!-- parameter -->
		<xsl:param name="name"/>
		<xsl:param name="weight"/>
		<!---->
		<!-- set Weight -->
		<xsl:variable name="weightInt" select="ext:getVdaNumericValue($weight,7, 0)"/>
		<!---->
		<!-- Weight field -->
		<xsl:element name="{$name}">
			<xsl:value-of select="$weightInt"/>
		</xsl:element>
	</xsl:template>
</xsl:stylesheet>
