Text processor
Core v2.2.0
The
processor wraps text content and optionally converts character encoding.
It's mainly used for explicit text declaration or charset conversion scenarios.
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://org.webharvest/schema/2.1/core">
<def var="message">
<text>This is plain text content</text>
</def>
</config>
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://org.webharvest/schema/2.1/core">
<def var="latinText">
<text charset="ISO-8859-1">
<file path="legacy-file.txt" action="read"/>
</text>
</def>
</config>