<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:a="http://tempuri.org/">
	<xsl:output method="xml" indent="yes"/>
	<xsl:template match="/">
		<eConnect xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">
			<xsl:for-each select="soap:Envelope/soap:Body/a:GetOrderStatusV2Response/a:GetOrderStatusV2Result/a:Orders/a:StockServiceOrderStatusOrderV2">
				<POPEnterMatchInvoiceType>
					<xsl:for-each select="a:PurchasedItems/a:StockServiceOrderStatusPurchasedItem">
						<taPopEnterMatchInvLine>
							<PONUMBER>
								<xsl:value-of select="../../a:PurchaseOrderNumber"/>
							</PONUMBER>
							<QTYINVCD>
								<xsl:value-of select="a:QuantityOrdered"/>
							</QTYINVCD>
							<ITEMNMBR>
								<xsl:value-of select="a:ItemNumber"/>
							</ITEMNMBR>
							<VENDORID>
								<xsl:value-of select="../../a:CustomerNumber"/>
							</VENDORID>
							<UNITCOST>
								<xsl:value-of select="a:Price"/>
							</UNITCOST>
						</taPopEnterMatchInvLine>
					</xsl:for-each>
					<taPopEnterMatchInvHdr>
						<PONUMBER>
							<xsl:value-of select="a:PurchaseOrderNumber"/>
						</PONUMBER>
						<receiptdate>
							<xsl:value-of select="a:OrderDate"/>
						</receiptdate>
						<SUBTOTAL>
							<xsl:value-of select="a:OrderTotal"/>
						</SUBTOTAL>
					</taPopEnterMatchInvHdr>
				</POPEnterMatchInvoiceType>
			</xsl:for-each>
		</eConnect>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2009. Progress Software Corporation. All rights reserved.

<metaInformation>
	<scenarios>
		<scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="source(4).xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml=""
		          commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="xsltVersion" value="2.0"/>
			<advancedProp name="schemaCache" value="||"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bGenerateByteCode" value="true"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="sInitialMode" value=""/>
		</scenario>
	</scenarios>
	<MapperMetaTag>
		<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="target(1).xml" destSchemaRoot="eConnect" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no">
			<SourceSchema srcSchemaPath="source(4).xml" srcSchemaRoot="soap:Envelope" AssociatedInstance="" loaderFunction="document" loaderFunctionUsesURI="no"/>
		</MapperInfo>
		<MapperBlockPosition>
			<template match="/">
				<block path="eConnect/xsl:for-each" x="376" y="76"/>
				<block path="eConnect/xsl:for-each/POPEnterMatchInvoiceType/xsl:for-each" x="376" y="164"/>
			</template>
		</MapperBlockPosition>
		<TemplateContext></TemplateContext>
		<MapperFilter side="source"></MapperFilter>
	</MapperMetaTag>
</metaInformation>
-->