You can call the class in two ways. Like this:
PHP Code:
$xmldata = '<somexml><value>value</value></somexml>';
$xml = new vB_XML_Parser($xmldata);
Or like this:
PHP Code:
$path = '/includes/xml/myxml.xml';
$xml = new vB_XML_Parser(false, $path);
Then parse the data like this:
PHP Code:
$parsed = $xml->parse();
$parsed now contains an array of the XML document. Use a print_r() to see what is inside/how it is structured.