I have an XML file that looks like this:
..
<PersonalInfo>
<LastName>Smith</LastName>
...
</PersonalInfo>
<DependentInfo>
<LastName>Johnson</LastName>
...
</DependentInfo>
...
and I need to convert the last name of the dependent to upper case.
I wrote this XSLT
<xsl:value-of select="translate(//LastName, $smallcase, $uppercase)" />
It converts last name of the dependent to the last name of the personal info in upper case. So it converts it to SMITH and I want it to be converted to JOHNSON. Could someone tell me how I can do this? Thanks you very much.