Asbjorn Grandt - 2015-11-13 16:49:13 -
In reply to message 1 from Callum West
Can you use
->addCustomMetaValue($metaValue)
Example:
$metaValue = new DublinCore(DublinCore::CREATOR, "John Doe");
$metaValue->addAttr("id", "something");
$metaValue->addAttr("xml:lang", "en");
$book->addCustomMetaValue($metaValue);
$metaValue = new MetaValue("meta", "Doe, John");
$metaValue->addAttr("refines", "#something");
$metaValue->addAttr("property", "file-as");
$book->addCustomMetaValue($metaValue);
It's not pretty, and I'll have a look to see if I can improve it. Especially as currently DublinCore and MetaValue data are in the same array, though the dc: namespace is only added top the DublinCore objects.