Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Knowledge Articles
    4. Can omit elements that are not required from Voyager patron XML import file

    Can omit elements that are not required from Voyager patron XML import file

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Product: Voyager
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

     

    Question

    Can I omit elements that are not required from the XML Patron Import file, rather than leave them empty?

    Answer

    A number of elements are not required, and if present must be a specific length. Rather than keeping these empty elements in the XML import file, you can omit them when there are no values with which to populate them. 

    Additional Information

    You can view the XSD that governs the XML for patron import here: https://developers.exlibrisgroup.com/resources/voyager/PatronSchema.xsd

    If you question whether an element is required, you can look for it in the XSD; where you see minOccurs="0" that indicates the element is not required. For example, here is the section of the XSD that governs the use of the smsNumber element:

    <xs:element name="smsNumber" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>

    This portion of the XSD is saying, "smsNumber is not required (minOccurs="0"), but if you use it, it must be at least 1 character in length (minLength value="1"), and no more than 50 (maxLength value="50")".

     

     


    • Article last edited: 04-Mar-2021
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Can multiple addresses be updated with patron update?
      • Can one SMS Proxy serve entire consortium?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Voyager
    2. Tags
      This page has no tags.
    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