@@ 529-536 (lines=8) @@ | ||
526 | break; |
|
527 | ||
528 | // 020 - International Standard Book Number (R) |
|
529 | case 20: // Test added |
|
530 | $isbn = $node->text('marc:subfield[@code="a"]'); |
|
531 | $isbn = preg_replace('/^([0-9\-xX]+).*$/', '\1', $isbn); |
|
532 | if (empty($isbn)) { |
|
533 | break; |
|
534 | } |
|
535 | array_push($isbns, $isbn); |
|
536 | break; |
|
537 | ||
538 | // 022 - International Standard Serial Number (R) |
|
539 | case 22: // Test added |
|
@@ 539-546 (lines=8) @@ | ||
536 | break; |
|
537 | ||
538 | // 022 - International Standard Serial Number (R) |
|
539 | case 22: // Test added |
|
540 | $issn = $node->text('marc:subfield[@code="a"]'); |
|
541 | $issn = preg_replace('/^([0-9\-xX]+).*$/', '\1', $issn); |
|
542 | if (empty($issn)) { |
|
543 | break; |
|
544 | } |
|
545 | array_push($issns, $issn); |
|
546 | break; |
|
547 | ||
548 | // 040 - Cataloging Source (NR) |
|
549 | case 40: // Test added |