JSTL fn:escapeXml() Function

The fn:escapeXml() function escapes the characters that would be interpreted as XML markup. It is used for escaping the character in XML markup language.

The syntax used for including the fn:escapeXml() function is:

Let's see the simple example to understand the functionality of fn:escapeXml() function:

Output:

JSTL Function Tags4