Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Structure of p_file_20 (PLIF) xml-format input file?

    Structure of p_file_20 (PLIF) xml-format input file?

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local;

    Question

    What is the structure of a file-20 (PLIF) xml-format input file?

    Answer

    The PLIF xml format is described in the How to Use the Patron Loader Interface (PLIF) (file-20) - 20.pdf  document.

    Attached is a sample (2-record) PLIF input file (p_file_20_sample_xml_input_file) plif_example.txt


    There is one z303, followed by one or more z304's, followed by one z305, followed by two or more z308's. The type 01 z308 is the barcode and the type 02 z308 is the university ID. (The barcode *must* be type 01; the university ID could be some other number.) The match-id-type in the z303 is typically the type 02 university ID.

    Within the z304, z305, and z308 reecords you have a <record-action> followed by a series of z304-xxxx, z305-xxxx, or z308-xxxx fields. (The possible record actions are D (Delete), I (Insert), U (Update), or A (Add). (In the case of "A" the program will check if there's a match, and, if so,, treat the record as an Update; if not, it will treat it as an Insert.)

    Like this:

    <p-file-20>
    <patron-record>
    <z303>
    <match-id-type>02</match-id-type>
    <match-id>xxxxxxxxx</match-id>
    <record-action>A</record-action>
    <z303-title>...</z303-title>
    <z303-name>...</z303-name>
    ...
    ...
    <z303-want-sms>N</z303-want-sms>
    <z303-gender>F</z303-gender>
    </z303>
    <z304>
    <record-action>A</record-action>
    <z304-sequence>01</z304-sequence>
    <z304-address-type>01</z304-address-type>
    <z304-address-0>Angela D Hotchkiss</z304-address-0>
    ...
    ...
    <z304-date-from>%</z304-date-from>
    <z304-date-to>%</z304-date-to>
    </z304>
    <z304>
    <record-action>A</record-action>
    <z304-sequence>02</z304-sequence>
    <z304-address-type>02</z304-address-type>
    ...
    ...
    <z304-date-from>%</z304-date-from>
    <z304-date-to>%</z304-date-to>
    </z304>
    <z305>
    <record-action>A</record-action>
    <z305-sub-library>ABC50</z305-sub-library>
    <z305-bor-status>nn</z305-bor-status>
    <z305-expiry-date>yyyymmdd</z305-expiry-date>
    </z305>
    <z308>
    <record-action>A</record-action>
    <z308-key-type>01</z308-key-type>
    <z308-key-data>...</z308-key-data>
    <z308-verification>...</z308-verification>
    <z308-verification-type>00</z308-verification-type>
    <z308-status>AC</z308-status>
    <z308-encryption>Y</z308-encryption>
    </z308>
    <z308>
    <record-action>A</record-action>
    <z308-key-type>02</z308-key-type>
    <z308-key-data>xxxxxxxxx</z308-key-data>
    <z308-verification>...</z308-verification>
    <z308-verification-type>00</z308-verification-type>
    <z308-status>AC</z308-status>
    <z308-encryption>Y</z308-encryption>
    </z308>
    </patron-record>
    <patron-record>
    ...
    ...
    ...
    </patron-record>
    </p-file-20>

    Category: Circulation


    • Article last edited: 21-Sept-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Stripping parenthetical info from z13 and z68 ISBN
      • Structure of URLs in the Web OPAC
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. Circulation
      3. contype:kba
      4. Dedicated-Direct
      5. Direct
      6. Local
      7. Prod:Aleph
      8. Type:Q&A
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved