Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Testing Normalization Rules for External Data Sources

    Return to menu

    The Testing Normalization of non-Alma Primo VE Records page allows you to test your normalization rules prior to loading either Dublin Core (DC), generic XML, MARC21, or UNIMARC records into Primo VE from an external data source.

    Primo VE Administration Certification > 06 External Resources: Loading Data (15 min)

    Before you begin testing, you must create test files and any normalization rules/processes that you want to test with this tool.

    PVE_TestNormRules_ExternalRecords.png

    Testing Normalization of Non-Alma Primo VE Records Page
    To test your normalization rules/processes:
    1. Create an input file. The following formats are supported:

      • XML file (oai_dc or qdc format) that contains a single DC record

      • XML file (generic XML format) that contains one or more generic XML records.

      • MARCXML file that contains one or more MARC21 or UNIMARC records.

      • Binary MARC file that contains one or more MARC21 records.

      For example:

      <record>
          <metadata>
              <qdc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:doc="http://www.lyncode.com/xoai" xmlns:qdc="http://www.openarchives.org/OAI/2.0/qdc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/qdc/ http://www.openarchives.org/OAI/2.0/qdc.xsd">
                  <dc:title>Efficient contact determination between geometric models</dc:title>
                  <dc:creator>Lin, Ming C.</dc:creator>
                  <dc:creator>Manocha, Dinesg</dc:creator>
                  <dc:contributor>Naval Postgraduate School (U.S.).</dc:contributor>
                  <dc:contributor>Computer Science</dc:contributor>
                  <dc:subject>COLLISIONS.</dc:subject>
                  <dc:description>http://archive.org/details/efficientcontact00linm</dc:description>
                  <dc:description>NA</dc:description>
                  <dc:date>1994-03</dc:date>
                  <dc:date>2013-02-27T23:23:12Z</dc:date>
                  <dc:date>2013-02-27T23:23:12Z</dc:date>
                  <dc:date>1994-03</dc:date>
                  <dc:type>Technical Report</dc:type>
                  <dc:identifier>http://hdl.handle.net/10945/28719</dc:identifier>
                  <dc:identifier>ocn640484785</dc:identifier>
                  <dc:identifier>NPS-CS-94-007</dc:identifier>
                  <dc:language>en_US</dc:language>
                  <dc:format>31 p. : ill. ; 28 cm.</dc:format>
                  <dc:format>application/pdf</dc:format>
                  <dc:publisher>Monterey, California. Naval Postgraduate School</dc:publisher>
              </qdc:dc>
          </metadata>
      </record>

      Additional example files: oneGenericRecord.xml, via_export_incr_upload_files.xml, extented_dublin_core_one_record.xml, oai_dc - one record.xml, one_record_testing_external.xml, qdc - one record.xml, and MARC_record.xml.

      The following characters must be escaped when not part of the markup text:

      • Ampersand (&) – use &amp;

      • Left angle bracket (<) – use &lt;

      For example: <dc:subject>Engineering &amp; Technology</dc:subject>

    2. Open the Testing Normalization of non-Alma Primo VE Records page (Configuration Menu > Discovery > Loading Records from External Data Sources > Test Normalization Rules).

    3. Select the format of the test records from the Select record type field: DCGeneric XML, Unimarc, or Marc21.

    4. In the Browse for file field, select your test file.

    5. Select one of the following test options:

    6. Select Run test. If the test file is valid, the record appears in the Source Record section.

      PVE_SourceRecord_NormTest.png

      DC Example - Source Record

      PVE_MARCExample_SrcRecord.png

      MARC Example - Source Record
    7. Review the record in the Normalized Record section to make sure that your source record has been normalized correctly.

      PVE_NormRecord_NormTest.png

      DC Example - Normalized Record

      PVE_MARCExample_NormRecord.png

      MARC Example - Normalized Record

      You can now perform the following actions for source records:

      • (DC only) Test other scenarios quickly by modifying the source record in the Source Record section:

        1. Select Actions > Edit File.

        2. Modify the source record.

        3. Select Test.

      • (DC only) Save a copy of the modified source record. Select Download and save the record to a file.

      • Run further normalization tests on the current record. Go to step 4.

      • Reload the original file or a different file. Go to step 3.

    • Was this article helpful?