xmlrpc::test::decode_test_prep (private)

 xmlrpc::test::decode_test_prep value

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

Takes the contents of a <value> node, calls xmlrpc::decode_value and returns the result. This is done repeatedly in the xml_rpc_decode_value test, so I broke it out into a separate function for that purpose

Parameters:
value (required)

Partial Call Graph (max 5 caller/called nodes):
%3 xml_doc_free xml_doc_free (public) xml_doc_get_first_node xml_doc_get_first_node (public) xml_parse xml_parse (public) xmlrpc::decode_value xmlrpc::decode_value (private) xmlrpc::test::decode_test_prep xmlrpc::test::decode_test_prep xmlrpc::test::decode_test_prep->xml_doc_free xmlrpc::test::decode_test_prep->xml_doc_get_first_node xmlrpc::test::decode_test_prep->xml_parse xmlrpc::test::decode_test_prep->xmlrpc::decode_value

Testcases:
No testcase defined.
Source code:
    set doc [xml_parse -persist "<value>$value</value>"]
    set result [xmlrpc::decode_value [xml_doc_get_first_node $doc]]
    xml_doc_free $doc
    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: