formURIDecodeformURIDecode
Parses an application/x-www-form-urlencoded string resource
Home > Books > NetKernel API and Services Reference > Accessor Listing > Utility and System Accessors > formURIDecode

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:sys

The formURIDecode accessor is exported by the urn:org:ten60:netkernel:ext:sys module. Import this module to gain access to the accessor.

Syntax

URI
active:formURIDecode

ArgumentRulesDescription
operandMandatory the resource to decode

Example Usage

DPML

<instr>
  <type>formURIDecode</type>
  <operand>var:formEncoded</operand>
  <target>var:nvp</target>
</instr>

NetKernel Foundation API

req=context.createSubRequest("active:formURIDecode");
req.addArgument("operand", [resource representation, aspect, or URI] );
result=context.issueSubRequest(req);

Purpose

The formURIDecode accessor converts a parameter encoded as MIME media type application/x-www-form-urlencoded into an XML fragment in the form of a name value pair list. This is useful when working with web form submissions and displays.

The name value pair XML fragment is provided as the operand and the encoded result is delivered to the target argument.

We need a discussion of, or reference to, the name-value pair XML fragment format. It would also be nice to have a reference to the encoded form or an example.

© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.