QuickBooks/QBXML/Object.php
static public function fromQBXML($qbxml, $action_or_object = null)
	{
		$errnum = null;
		$errmsg = null;
		
		$Parser = new QuickBooks_XML_Parser($qbxml);
		if ($Doc = $Parser->parse($errnum, $errmsg))
		{
			$XML = $Doc->getRoot();
			
			return QuickBooks_QBXML_Object::fromXML($XML, $action_or_object);
		}
		
		return false;
	}
static public function fromQBXML($qbxml, $action_or_object = null)
	{
		$errnum = null;
		$errmsg = null;
		
		$Parser = new QuickBooks_XML_Parser($qbxml);
		if ($Doc = $Parser->parse($errnum, $errmsg))
		{
			$XML = $Doc->getRoot();
			
			return QuickBooks_QBXML_Object::fromXML($XML, $action_or_object);
		}
		
		return false;
	}
Convert a qbXML string to a QuickBooks_Object_* object instance

@param string $qbxml
@param string $action_or_object
@return QuickBooks_Object