How to escape special characters in XML input file (PLIF)
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Question
How to escape special characters in the address data (like ampersand &) in XML format for PLIF (file-20)?
Answer
Encoding the ampersand as & will work:
<z304-address-1>Smith & Miller</z304-address-1>
See also: http://en.wikipedia.org/wiki/List_of...ntities_in_XML
Additional Information
If the characters are not correctgly encoded the following error message might be displayed when customer tries to upload xml PLIF file:
"/exlibris/aleph/u21_x/xxx50/scratch/plif_130909_133132.txt:27: parser error : xmlParseEntityRef: no name
<z304-address-2>Development & Reform Commission hostel,</z304-address-2>"
- Article last edited: 9-FEB-2017