/** * creates the METS:structMap element for a conference with singe Scheduled Conference */ function generateConfstructMapWithSchedConf(&$doc, &$root, &$conference, &$schedConf) { $structMap =& XMLCustomWriter::createElement($doc, 'METS:structMap'); XMLCustomWriter::setAttribute($structMap, 'TYPE', 'logical'); $cDiv =& XMLCustomWriter::createElement($doc, 'METS:div'); XMLCustomWriter::setAttribute($cDiv, 'TYPE', 'series'); XMLCustomWriter::setAttribute($cDiv, 'DMDID', 'CS-' . $conference->getId()); XMLCustomWriter::setAttribute($cDiv, 'ADMID', 'A-' . $conference->getId()); MetsExportDom::generateSchedConfDiv($doc, $cDiv, $schedConf); XMLCustomWriter::appendChild($structMap, $cDiv); XMLCustomWriter::appendChild($root, $structMap); }