Library for parsing xml files
get_xpc($string);
Returns XPathContext for the dom build using the string, which contains xml.
verify_option(%args);
Verifies that node by given XPath is unique and has expected value. %args is a hash which must have following keys:
xpc - XPathContext object for the parsed xml,
xpath - XPath to the node which value we want to check
expected_val - expected value for the node
find_nodes(%args);
Finds all the nodes by xpath and returns the nodes as array.
xpc - XPathContext object for the parsed xml, xpath - XPath to the target node