<?xml version="1.0"?>
<!-- Generated using Microsoft BizTalk Mapper on Thu, Sep 07 2000 03:10:13 PM -->
<!-- Microsoft Corporation (c) 2000 (http://www.microsoft.com) -->
<mapsource name="CIDXExcel" BizTalkServerMapperTool_Version="1.0" version="1" xrange="100" yrange="420">

<srctree><Schema name="CIDXPOSCHEMA.xml" b:BizTalkServerEditorTool_Version="1.0" b:root_reference="PO" b:standard="XML" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:b="urn:schemas-microsoft-com:BizTalkServer" xmlns:dt="urn:schemas-microsoft-com:datatypes">
			<b:SelectionFields/>
			<ElementType name="POShipTo" content="empty">
				<b:RecordInfo/>
				<AttributeType name="street4" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street3" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street2" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street1" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="stateProvince" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="postalCode" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="entityidentifier" dt:type="string" default="ST">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="country" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="city" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="attn" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="entityidentifier"/>
				<attribute type="city"/>
				<attribute type="attn"/>
				<attribute type="country"/>
				<attribute type="stateProvince"/>
				<attribute type="street4"/>
				<attribute type="street3"/>
				<attribute type="street2"/>
				<attribute type="street1"/>
				<attribute type="postalCode"/>
			</ElementType><ElementType name="POLines" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="startAt" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="count" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<attribute type="startAt"/>
				<attribute type="count"/>
				<element type="Item" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="POHeader" content="empty">
				<b:RecordInfo/>
				<AttributeType name="poNumber" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="poDate" dt:type="dateTime.tz">
					<b:FieldInfo/></AttributeType>
				<attribute type="poDate"/>
				<attribute type="poNumber"/>
			</ElementType><ElementType name="POBillTo" content="empty">
				<b:RecordInfo/>
				<AttributeType name="street4" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street3" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street2" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street1" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="stateProvince" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="postalCode" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="entityidentifier" dt:type="string" default="BT">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="country" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="city" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="attn" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="entityidentifier"/>
				<attribute type="city"/>
				<attribute type="attn"/>
				<attribute type="country"/>
				<attribute type="stateProvince"/>
				<attribute type="street4"/>
				<attribute type="street3"/>
				<attribute type="street2"/>
				<attribute type="street1"/>
				<attribute type="postalCode"/>
			</ElementType><ElementType name="PO" content="eltOnly">
				<b:RecordInfo/>
				<element type="POHeader"/>
				<element type="Contact"/>
				<element type="POShipTo"/>
				<element type="POBillTo"/>
				<element type="POLines"/>
			</ElementType><ElementType name="Item" content="empty">
				<b:RecordInfo/>
				<AttributeType name="uom" dt:type="enumeration" dt:values="PC UNIT">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="unitPrice" dt:type="float">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="qty" dt:type="number">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="partno" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="line" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<attribute type="uom"/>
				<attribute type="unitPrice"/>
				<attribute type="qty"/>
				<attribute type="partno"/>
				<attribute type="line"/>
			</ElementType><ElementType name="Contact" content="empty">
				<b:RecordInfo/>
				<AttributeType name="contactPhone" dt:type="number">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="contactName" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="contactFunctionCode" dt:type="string" default="BD">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="contactEmail" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="contactName"/>
				<attribute type="contactFunctionCode"/>
				<attribute type="contactEmail"/>
				<attribute type="contactPhone"/>
			</ElementType></Schema>
	</srctree>
<Values><TestValues/>
		<ConstantValues/>
	</Values>
<sinktree><Schema name="PurchaseOrder.biz" b:BizTalkServerEditorTool_Version="1.0" b:root_reference="PurchaseOrder" b:standard="XML" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:b="urn:schemas-microsoft-com:BizTalkServer" xmlns:dt="urn:schemas-microsoft-com:datatypes">
			<b:SelectionFields/>
			<ElementType name="PurchaseOrder" content="eltOnly">
				<b:RecordInfo/>
				<element type="Header"/>
				<element type="Items"/>
				<element type="Footer"/>
				<element type="InvoiceTo"/>
				<element type="DeliverTo"/>
			</ElementType><ElementType name="Items" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="itemCount" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<attribute type="itemCount"/>
				<element type="Item" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="Item" content="empty">
				<b:RecordInfo/>
				<AttributeType name="yourPartNumber" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="unitPrice" dt:type="number">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="unitOfMeasure" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="salesValue" dt:type="number">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="quantity" dt:type="number">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="partNumber" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="partDescription" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="itemNumber" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<attribute type="itemNumber"/>
				<attribute type="yourPartNumber"/>
				<attribute type="partNumber"/>
				<attribute type="partDescription"/>
				<attribute type="quantity"/>
				<attribute type="unitOfMeasure"/>
				<attribute type="unitPrice"/>
				<attribute type="salesValue"/>
			</ElementType><ElementType name="InvoiceTo" content="eltOnly">
				<b:RecordInfo/>
				<element type="Contact"/>
				<element type="Address"/>
			</ElementType><ElementType name="Header" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="yourAccountCode" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="ourAccountCode" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="orderNum" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="orderDate" dt:type="date">
					<b:FieldInfo/></AttributeType>
				<attribute type="orderNum"/>
				<attribute type="orderDate"/>
				<attribute type="ourAccountCode"/>
				<attribute type="yourAccountCode"/>
				<element type="Contact"/>
			</ElementType><ElementType name="Footer" content="empty">
				<b:RecordInfo/>
				<AttributeType name="totalValue" dt:type="number">
					<b:FieldInfo/></AttributeType>
				<attribute type="totalValue"/>
			</ElementType><ElementType name="DeliverTo" content="eltOnly">
				<b:RecordInfo/>
				<element type="Contact"/>
				<element type="Address"/>
			</ElementType><ElementType name="Contact" content="empty">
				<b:RecordInfo/>
				<AttributeType name="telephone" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="e-mail" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="contactName" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="companyName" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="contactName"/>
				<attribute type="companyName"/>
				<attribute type="e-mail"/>
				<attribute type="telephone"/>
			</ElementType><ElementType name="Address" content="empty">
				<b:RecordInfo/>
				<AttributeType name="street4" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street3" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street2" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="street1" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="stateProvince" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="postalCode" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="country" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="city" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="street1"/>
				<attribute type="street2"/>
				<attribute type="street3"/>
				<attribute type="street4"/>
				<attribute type="city"/>
				<attribute type="stateProvince"/>
				<attribute type="postalCode"/>
				<attribute type="country"/>
			</ElementType></Schema>
	</sinktree>
<links>
<link linkid="1" linkfrom="/PO/POHeader/@poDate" linkto="/PurchaseOrder/Header/@orderDate"/>
<link linkid="2" linkfrom="/PO/POHeader/@poNumber" linkto="/PurchaseOrder/Header/@orderNum"/></links>
<functions/>
<CompiledXSL><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="urn:var" xmlns:user="urn:user" version="1.0">
			<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
			<xsl:template match="/">
				<xsl:apply-templates select="PO"/>
			</xsl:template>
			<xsl:template match="PO">
				<PurchaseOrder>
					<xsl:for-each select="POHeader">
						<Header>
							<!-- Connection from Source Node "poNumber" to Destination Node "orderNum" -->
							<xsl:attribute name="orderNum"><xsl:value-of select="@poNumber"/></xsl:attribute>
							<!-- Connection from Source Node "poDate" to Destination Node "orderDate" -->
							<xsl:attribute name="orderDate"><xsl:value-of select="@poDate"/></xsl:attribute>
						</Header>
					</xsl:for-each>
				</PurchaseOrder>
			</xsl:template>
			<msxsl:script language="VBScript" implements-prefix="user">
				<![CDATA[

Function FctGetDefValue(strNodeValue, strDefValue)
  If strNodeValue <> "" Then
    FctGetDefValue = strNodeValue
  Else
    FctGetDefValue = strDefValue
  End If
End Function

]]>
			</msxsl:script>
		</xsl:stylesheet>
	</CompiledXSL></mapsource>

