The calli:decode-text step removes encoding of text. This step behaves like p:unescape-markup, but only decodes it and does not convert text to XML.


<p:declare-step type="calli:decode-text">
    <p:input port="source" sequence="true" primary="true" />
    <p:option name="content-type" select="'text/plain'"/>
    <p:option name="encoding"/>
    <p:option name="charset"/>
    <p:output port="result" sequence="true" />
</p:declare-step>
Option Description Example
content-type The content-type of the data to be decoded application/sparql
charset The character set of the encoded text UTF-8
encoding

One of the following encodings

  • base64
  • base32
  • hex
  • binary
  • quoted-printable
  • www-form-urlencoded
base64