Hi,
The below is the XML that i will get as an input What i want to do is I want to apply an template to c0 which will bold the value present in c0 tag.
I have written the template to do it but its not applying the template as it is not < of > rather its< that is getting returned.
If i debug and see the variable contains the <c0> tags but they are not accessible as nodes i guess that might be the reason its not getting applied.
XML:
<myprop>&lt;p&gt;My name <c0>change</c0> in records after<ddd/>the experiment<c0>changes</c0> the phase of life<ddd/></myprop>
If i do disable-output-escaping="yes"
<xsl:variable name="lt">
<xsl:value-of disable-output-escaping="yes" select="myprop"></xsl:value-of>
</xsl:variable>
<xsl:value-of select="$lt"/>
output:
<myprop>
<p>&lt;p&gt;My name <c0>change</c0> in records after<ddd/>the experiment<c0>changes</c0> the phase of life<ddd/></p>
Can anyone help in this regard.
I want to bold the values present in c0 tag.
Regards,
Altaf.
ALtaf Ali