This commit is contained in:
wangjinlei
2021-07-26 14:26:35 +08:00
parent 55d2b78440
commit 68de3a8fd6
3 changed files with 74 additions and 10 deletions

View File

@@ -1152,7 +1152,7 @@ http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
$xml .= '<person_name sequence="additional" contributor_role="author">' . PHP_EOL;
}
$xml .= '<given_name>' . $v['first_name'] . '</given_name>' . PHP_EOL;
$xml .= '<surname>' . $v['last_name'] . '</surname>' . PHP_EOL;
$xml .= '<surname>' . ($v['last_name']==''?$v['first_name']:$v['last_name']) . '</surname>' . PHP_EOL;
$xml .= '</person_name>' . PHP_EOL;
}
$xml .= '</contributors>' . PHP_EOL;
@@ -1255,7 +1255,7 @@ http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
$xml .= '<person_name sequence="additional" contributor_role="author">' . PHP_EOL;
}
$xml .= '<given_name>' . $v['first_name'] . '</given_name>' . PHP_EOL;
$xml .= '<surname>' . $v['last_name'] . '</surname>' . PHP_EOL;
$xml .= '<surname>' . ($v['last_name']==''?$v['first_name']:$v['last_name']) . '</surname>' . PHP_EOL;
$xml .= '</person_name>' . PHP_EOL;
}
$xml .= '</contributors>' . PHP_EOL;