Example Input Value

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header/>
  <soapenv:Body>
    <Numerator>
      100
    </Numerator>
    <Denominator>
      50
    </Denominator>
  </soapenv:Body>
</soapenv:Envelope>
CODE


XSLT Conversion Code

<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
 <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
 <xsl:strip-space elements="*"/>
    
 <xsl:template match="@*|node()">
     <xsl:copy>
         <xsl:apply-templates select="@*|node()"/>
     </xsl:copy>
 </xsl:template>
   
 <xsl:template match="//*[local-name()='Numerator']/text()">
     <xsl:value-of select="concat('Prefix', .)"/>
 </xsl:template>
   
   <xsl:template match="//*[local-name()='Denominator']/text()">
     <xsl:value-of select="concat('Prefix',.)"/>
 </xsl:template>
   
 </xsl:stylesheet>
CODE


Example Output Value

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <Numerator>Prefix
      100
    </Numerator>
      <Denominator>Prefix
      50
    </Denominator>
   </soapenv:Body>
</soapenv:Envelope>
CODE