<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xalan="http://xml.apache.org/xslt" xmlns:bscs="http://www.ibm.com/eai">
    <xsl:output method="xml">
    	<xsl:template match="/">
    		<xsl:copy-of select="bscs:businessInput">
    			<xsl:foreach select="./*">
    				<bscs:API_DETAILS>
				        <bscs:ARG_NAME><xsl:value-of select="local-name()"/></bscs:ARG_NAME>
				        <bscs:ARG_VALUE><xsl:value-of select="current()"/></bscs:ARG_VALUE>
			        </bscs:API_DETAILS>
    			</xsl:foreach>
    		</xsl:copy-of>
    	</xsl:template>
    
    </xsl:output>
</xsl:stylesheet>
