Name

p:www-form-urldecode — The standard p:www-form-urldecode step.

Synopsis

The p:www-form-urldecode step decodes a x-www-form-urlencoded string into a JSON representation.

Output portPrimarySequenceContent types
result✔  application/json 
Option nameTypeRequired
valuexs:string✔ 
Declaration
  |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
  |   <p:output port="result" content-types="application/json"/>
  |   <p:option name="value" required="true" as="xs:string"/>
  |</p:declare-step>
Errors
CodeDescription
err:XC0037It is a dynamic error (err:XC0037) if the value provided is not a properly x-www-form-urlencoded value.

Description

The p:www-form-urldecode step is defined in the XProc 3.0: Standard Step Library. It is also described on XProcRef.org.