You are here

function en8_endElement in Bibliography Module 5

Same name and namespace in other branches
  1. 6 endnote8_parser.inc \en8_endElement()
1 string reference to 'en8_endElement'
_endnote_XML_import in ./biblio.module

File

./endnote8_parser.inc, line 64

Code

function en8_endElement($parser, $name) {
  global $element, $contributors, $dates, $urls;
  switch ($name) {
    case 'authors':
    case 'secondary-authors':
    case 'tertiary-authors':
    case 'subsidiary-authors':
    case 'translated-authors':
      $contributors = '';
      $element = '';
      break;
    case 'year':
    case 'pub-dates':
    case 'copyright-dates':
      $dates = '';
      $element = '';
      break;
    case 'web-urls':
    case 'pdf-urls':
    case 'text-urls':
    case 'related-urls':
    case 'image-urls':
      $urls = '';
      $element = '';
      break;
    case 'style':
      break;
    default:
      $element = '';
  }
}