<xsl:template name="idTemplate">
<xsl:element name="MRooms_UserId">
<xsl:template match="/s0:RESPONSE">
<xsl:for-each select="/s0:MULTIPLE/s0:SINGLE">
<xsl:if test="string(s0:KEY/@name)='id'"/>
<xsl:value-of select="s0:KEY/s0:VALUE/text()"/>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:element>
</xsl:template>
<xsl:template name="idTemplate">
<xsl:element name="MRooms_UserId">
<xsl:for-each select="/s0:RESPONSE/s0:MULTIPLE/s0:SINGLE/s0:KEY">
<xsl:if test="string(@name)='id'">
<xsl:value-of select="s0:VALUE/text()"/>
</xsl:if>
</xsl:for-each>
</xsl:element>
</xsl:template>
Comments
Post a Comment