Fixed deprecated PHP in XPath.class.php
Added ability to import tags