Tried this also but no luck


. Am I missing anything here ???
<xsl:stylesheet version="2.0"
---namespaces-----
------>
<xsl:param name="Invoke2_process_OutputVariable.payload"/>
<xsl:key name="cust" match="ns3:promotion" use="ns3:id"/>
<xsl:template match="/">
<ns4:processResponse>
<ns4:subscribers>
<ns4:Subscriber>
<ns4:promotions>
<xsl:for-each select="/client:retrieveSubscriberDetailResponse/client:subscribers/client:Subscriber/client:promotions/client:promotion/client:id">
<!--<xsl:for-each select="$Invoke2_process_OutputVariable.payload/ns3:processResponse/ns3:promotions/ns3:promotion/ns3:id">-->
<xsl:variable name="kf" select="key('cust', .)"/>
<ns4:promotion>
<ns4:id>
<xsl:value-of select="$kf/ns3:id"/>
</ns4:id>
<ns4:name>
<xsl:value-of select="$kf/ns3:name"/>
</ns4:name>
</ns4:promotion>
</xsl:for-each>
</ns4:promotions>
</ns4:Subscriber>
</ns4:subscribers>
</ns4:processResponse>
</xsl:template>