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
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | decode:html |
Results:
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
Example
<output>
<decode:html>Hello World!<br />My name is "iXML" &amp; I am a XML derivative!</decode:html>
</output>
<!--
Hello World!
My name is "iXML" & I am a XML derivative!
-->