Zum Hauptinhalt springen

Decode HTML

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

<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

XML
<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!
-->