below is the sample request from target application where i need to parse the xml to find the value for Code element and currency value for the respective country and assign these to a variables to process further logic
<cal:process xmlns:cal="http://example.com">
<cal:input>
<!--receiving the below xml string as input -->
<sampledata xmlns="http://123.com">
<List>
<countries>
<country xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">INDIA</country>
<currency xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">INR</currency>
</countries>
<countries>
<country xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">UK</country>
<currency xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GB</currency>
</countries>
</List>
<Code>CONTRACT</Code>
</sampledata>
</cal:input>
</cal:process>
if anyone has done this earlier, can i please request you to share me the sampe xslt ?