You are here

function biblio_endnote_XML_export in Bibliography Module 6

Export data in EndNote XML format.

Parameters

$result: a database pointer to a result set

$version: the EndNote version of the XML file. EndNote uses one format up to version 7 then change to another format in version 8 and greater.

Return value

none

File

./biblio.import.export.inc, line 1028
Functions that are used to import and export biblio data.

Code

function biblio_endnote_XML_export($result, $version = 7) {
  if ($version == 8) {
    module_load_include('inc', 'biblio', 'endnote8_export');
    $xml = _endnote8_XML_export($result);
  }
  elseif ($version == 7) {
    module_load_include('inc', 'biblio', 'endnote7_export');
    $xml = _endnote7_XML_export($result);
  }
  return $xml;
}