I am trying to edit a current XSLT. The functionality I want is when the value of "//code_no" ends with 01 I want to edit the current city location. Currently this functionality does not exist. I have tried using string and substring but it gives me an error saying ends with functionality does not exist. Please help
The value coming from the xml is
<code_no>
1870410001
</code_no>
in the xsl, I want to print this when the value ends with 01.
<td align="left" width="33%"><SPAN style="font-size: 12pt; font-family: Arial;">
<a> <b><u><xsl:value-of select="//city"/>, <xsl:value-of select="//state"/>
</u></b></a></SPAN></td>
See Question&Answers more detail:os