xml_parse (public)
xml_parse [ -persist ] xml
Defined in packages/acs-tcl/tcl/30-xml-utils-procs.tcl
Parse a document and return a doc_id
- Switches:
- -persist (optional, boolean)
- decides whether returned document object will be deleted when the connection is closed or will be kept in server memory
- Parameters:
- xml (required)
- Returns:
- parsed document object handle
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xml_get_child_node_content_by_path, files__check_xql_files, xml_rpc_fault, xml_rpc_decode_value, xml_rpc_respond
Source code: if {$persist_p} { return [dom parse -simple -- $xml] } else { dom parse -simple -- $xml doc return $doc }XQL Not present: Generic, PostgreSQL, Oracle