<?xml version="1.0"?>
<!--
@author Last Changed:$Author: theegarten $
@version $Revision: 4772 $
@date $Date: 2010-09-06 15:04:22 +0200 (Mo, 06 Sep 2010) $
-->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schema.infor.com/InforOAGIS/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!---->
    <!-- imports -->
    <!---->
    <!-- template to insert -->
    <xsl:template name="UnitPrice">
        <!---->
        <!-- parameter -->
        <xsl:param name="amount"/>
        <xsl:param name="priceCurrencyID"/>
        <xsl:param name="perQuantity"/>
        <xsl:param name="perQuantityUnit"/>
        <!---->
        <xsl:element name="UnitPrice">
            <xsl:element name="Amount">
                <xsl:attribute name="currencyID"><xsl:value-of select="$priceCurrencyID"/></xsl:attribute>
                <xsl:value-of select="$amount"></xsl:value-of>
            </xsl:element>
            <xsl:element name="PerQuantity">
                <xsl:attribute name="unitCode"><xsl:value-of select="$perQuantityUnit"/></xsl:attribute>
                <xsl:value-of select="$perQuantity"></xsl:value-of>
            </xsl:element>
            </xsl:element>
    </xsl:template>
</xsl:stylesheet>
