public function __construct($path)
{
parent::__construct($path);
$xml = $this->getXMLReader();
while ($xml->read()) {
if (\XMLReader::ELEMENT === $xml->nodeType && 'Relationship' === $xml->name) {
$type = basename((string) $xml->getAttribute('Type'));
$this->storeRelationShipByType($type, $xml->getAttribute('Id'), 'xl/' . $xml->getAttribute('Target'));
}
}
$this->closeXMLReader();
}