<?xml version="1.0"?>
<!-- Generated using BizTalk Mapper on Fri, Feb 11 2005 11:46:17 AM -->
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
<mapsource Name="BizTalk Map" BizTalkServerMapperTool_Version="1.5" Version="1.5" XRange="100" YRange="420"><SrcTree><Schema name="CE.xml" b:BizTalkServerEditorTool_Version="1.5" b:root_reference="Consumer_Electronics" b:standard="XML" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:b="urn:schemas-microsoft-com:BizTalkServer">
			<b:SelectionFields/>
			<ElementType name="Photo_and_Cameras" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="Quantity" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Price" dt:type="float">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="PID" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Name" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="PID"/>
				<attribute type="Name"/>
				<attribute type="Quantity"/>
				<attribute type="Price"/>
			</ElementType><ElementType name="Personal_Computers" content="eltOnly">
				<b:RecordInfo/>
				<element type="Microprocessors" maxOccurs="*" minOccurs="1"/>
				<element type="Accessories" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="Microprocessors" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="Quantity" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Price" dt:type="float">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="PID" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Name" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<attribute type="PID"/>
				<attribute type="Name"/>
				<attribute type="Quantity"/>
				<attribute type="Price"/>
			</ElementType><ElementType name="Consumer_Electronics" content="eltOnly">
				<b:RecordInfo/>
				<element type="Personal_Computers" maxOccurs="*" minOccurs="1"/>
				<element type="Photo_and_Cameras" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="Accessories" content="eltOnly">
				<b:RecordInfo/>
			</ElementType></Schema>
	</SrcTree><TrgTree><Schema name="E.biz" b:BizTalkServerEditorTool_Version="1.5" b:root_reference="Electronics" b:standard="XML" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:b="urn:schemas-microsoft-com:BizTalkServer">
			<b:SelectionFields/>
			<ElementType name="PC_board" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="Price" dt:type="float">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="ID" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Brand" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Amount" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<attribute type="ID"/>
				<attribute type="Brand"/>
				<attribute type="Amount"/>
				<attribute type="Price"/>
			</ElementType><ElementType name="PC" content="eltOnly">
				<b:RecordInfo/>
				<element type="PC_board" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="Electronics" content="eltOnly">
				<b:RecordInfo/>
				<element type="PC" maxOccurs="*" minOccurs="1"/>
				<element type="Cameras_and_Photo" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="Digital_Cameras" content="eltOnly">
				<b:RecordInfo/>
				<AttributeType name="Price" dt:type="float">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="ID" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Brand" dt:type="string">
					<b:FieldInfo/></AttributeType>
				<AttributeType name="Amount" dt:type="int">
					<b:FieldInfo/></AttributeType>
				<attribute type="ID"/>
				<attribute type="Brand"/>
				<attribute type="Amount"/>
				<attribute type="Price"/>
			</ElementType><ElementType name="Cameras_and_Photo" content="eltOnly">
				<b:RecordInfo/>
				<element type="Accessories" maxOccurs="*" minOccurs="1"/>
				<element type="Digital_Cameras" maxOccurs="*" minOccurs="1"/>
			</ElementType><ElementType name="Accessories" content="eltOnly">
				<b:RecordInfo/>
			</ElementType></Schema>
	</TrgTree><TreeValues/><Pages><Page Name="Page 1"><Links><Link LinkID="1" LinkFrom="/Consumer_Electronics/Photo_and_Cameras" LinkTo="/Electronics/Cameras_and_Photo"/><Link LinkID="2" LinkFrom="/Consumer_Electronics/Photo_and_Cameras" LinkTo="/Electronics/Cameras_and_Photo/Digital_Cameras"/><Link LinkID="3" LinkFrom="/Consumer_Electronics/Personal_Computers" LinkTo="/Electronics/PC"/><Link LinkID="4" LinkFrom="/Consumer_Electronics" LinkTo="/Electronics"/><Link LinkID="5" LinkFrom="/Consumer_Electronics/Photo_and_Cameras/@PID" LinkTo="/Electronics/Cameras_and_Photo/Digital_Cameras/@ID"/><Link LinkID="6" LinkFrom="/Consumer_Electronics/Photo_and_Cameras/@Name" LinkTo="/Electronics/Cameras_and_Photo/Digital_Cameras/@Brand"/><Link LinkID="7" LinkFrom="/Consumer_Electronics/Photo_and_Cameras/@Quantity" LinkTo="/Electronics/Cameras_and_Photo/Digital_Cameras/@Amount"/><Link LinkID="8" LinkFrom="/Consumer_Electronics/Photo_and_Cameras/@Price" LinkTo="/Electronics/Cameras_and_Photo/Digital_Cameras/@Price"/></Links><Functoids/></Page></Pages><CompiledXSL><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="urn:var" xmlns:userVBScript="urn:userVBScript" xmlns:userJScript="urn:userJScript" exclude-result-prefixes="msxsl var userVBScript userJScript" version="1.0">
			<xsl:output method="xml" omit-xml-declaration="yes"/>
			<xsl:template match="/">
				<xsl:apply-templates select="Consumer_Electronics"/>
			</xsl:template>
			<xsl:template match="Consumer_Electronics">
				<Electronics>
					<xsl:for-each select="Personal_Computers">
						<PC>
							<xsl:value-of select="./text()"/>
						</PC>
					</xsl:for-each>
					<xsl:for-each select="Photo_and_Cameras">
						<Cameras_and_Photo>
							<Digital_Cameras>
								<xsl:if test="@PID"><xsl:attribute name="ID"><xsl:value-of select="@PID"/></xsl:attribute></xsl:if>
								<xsl:if test="@Name"><xsl:attribute name="Brand"><xsl:value-of select="@Name"/></xsl:attribute></xsl:if>
								<xsl:if test="@Quantity"><xsl:attribute name="Amount"><xsl:value-of select="@Quantity"/></xsl:attribute></xsl:if>
								<xsl:if test="@Price"><xsl:attribute name="Price"><xsl:value-of select="@Price"/></xsl:attribute></xsl:if>
								<xsl:value-of select="./text()"/>
							</Digital_Cameras>
							<xsl:value-of select="./text()"/>
						</Cameras_and_Photo>
					</xsl:for-each>
					<xsl:value-of select="./text()"/>
				</Electronics>
			</xsl:template>
		</xsl:stylesheet>
	</CompiledXSL></mapsource>

