Skip to main content

Decode HTML

Anatomy

<decode:html var="var">
string
</decode:html>

Description: DECODE:HTML decodes a value by stripping HTML tags and converting all HTML entites back to their applicable characters.

DECODE:HTML is compatible to the ENCODE:HTML operation, but it is not the complement thereof.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name decode:html

Results:

BindingTypePredicate
varstringN/A

Examples

Example

<output>
<decode:html>Hello World!&lt;br /&gt;My name is &quot;iXML&quot; &amp;amp; I am a XML derivative!</decode:html>
</output>

<!--
Hello World!
My name is "iXML" & I am a XML derivative!
-->