xmlrpc::decode_value (private)

 xmlrpc::decode_value node

Defined in packages/xml-rpc/tcl/xml-rpc-procs.tcl

Unpack the data in a value element. Most value elements will have a subnode describing the datatype (e.g. <string> or <int>). If no subnode is present, then we should assume the value is a string.

Parameters:
node (required)
<value> node that we're decoding
Returns:
Returns the contents of the <value> node. If the value is a <struct> then returns the data in a TCL array. If the value is an <array> then returns the data in a TCL list.

Testcases:
xml_rpc_fault, xml_rpc_decode_value, xml_rpc_respond
[ show source ]
Show another procedure: