0

display-name is not displaying < correctly instead it displays as &lt;. In view-source it appears as &amp;lt; I want that to display properly. I tried in many ways but doing in back end and in the java code its providing error saying premature end of function for me.

<xsl:choose>
  <xsl:when test="@display-name ='' ">
    <INPUT TYPE="TEXT" NAME="DISPLAY_NAME" VALUE="{para-description}" />
  </xsl:when>
  <xsl:when test="para-description ='' ">
    <INPUT TYPE="TEXT" NAME="DISPLAY_NAME" VALUE="{@name}" />
  </xsl:when>
  <xsl:otherwise>
    <INPUT TYPE="TEXT" NAME="DISPLAY_NAME" VALUE="{@display-name}" />
  </xsl:otherwise>
</xsl:choose>
mplungjan
  • 169,008
  • 28
  • 173
  • 236

0 Answers0