diff --git a/lib/Ebook.php b/lib/Ebook.php index e4ed36bf..1168107c 100644 --- a/lib/Ebook.php +++ b/lib/Ebook.php @@ -267,7 +267,7 @@ class Ebook{ $id = $contributor->attributes()->id; } - foreach($xml->xpath('/package/metadata/meta[@property="role"][@refines="#' . $id . '"]') ?: [] as $role){ + foreach($xml->xpath('/package/metadata/meta[ (@property="role" or @property="se:role") and @refines="#' . $id . '"]') ?: [] as $role){ $c = new Contributor( (string)$contributor, $this->NullIfEmpty($xml->xpath('/package/metadata/meta[@property="file-as"][@refines="#' . $id . '"]')),