getDeployment(); $vol = $issue->getVolume(); $num = $issue->getNumber(); $year = $issue->getYear(); $title = $issue->getTitle(null); assert($issue->getShowVolume() || $issue->getShowNumber() || $issue->getShowYear() || $issue->getShowTitle()); $issueIdentificationNode = $doc->createElementNS($deployment->getNamespace(), 'issue_identification'); if ($issue->getShowVolume()) { assert(!empty($vol)); $issueIdentificationNode->appendChild($node = $doc->createElementNS($deployment->getNamespace(), 'volume', htmlspecialchars($vol, ENT_COMPAT, 'UTF-8'))); } if ($issue->getShowNumber()) { assert(!empty($num)); $issueIdentificationNode->appendChild($node = $doc->createElementNS($deployment->getNamespace(), 'number', htmlspecialchars($num, ENT_COMPAT, 'UTF-8'))); } if ($issue->getShowYear()) { assert(!empty($year)); $issueIdentificationNode->appendChild($node = $doc->createElementNS($deployment->getNamespace(), 'year', $year)); } if ($issue->getShowTitle()) { assert(!empty($title)); $filter->createLocalizedNodes($doc, $issueIdentificationNode, 'title', $title); } return $issueIdentificationNode; } } ?>