[Koha] Should XSLT add punctuation?

Caroline Cyr-La-Rose caroline.cyr-la-rose at inlibro.com
Thu Aug 23 09:45:15 NZST 2018


Hello everyone!

I have a question regarding the XSLT stylesheets (for MARC21). Is it 
supposed to change the punctuation when displaying the record?

For instance, I have a record where there is a period (.) at the end of 
100$e. So in MARC, it looks like

100 1#
a Goscinny, René,
d 1926-1977-,
e author.

In intranet details, it looks like

Goscinny, René, 1926-1977- [author.].

There are two periods (and no comma after the date).

In the 260 field, the opposite happens. There is a period at the end of 
260$c in MARC, but nothing is appearing in intranet results.

260 ##
a Paris :
b Gallimard jeunesse,
c [2014].

In the intranet details, it looks like

Paris : Gallimard jeunesse, [2014]

There is no period after the date.

It's not clear what the XSLT is trying to do. On one hand, it looks like 
it's trying to complete the punctuation, but it removes it sometimes.

My knowledge of AACR2 rules for punctuation was wiped from my brain the 
second I graduated ~10 years ago (maybe even before, if I'm being really 
honest!), so I'm not even sure what the right punctuation is supposed to 
be.

But my question is if the XSLT is supposed to mess with the punctuation 
or not? And if the answer is yes, shouldn't it look first in leader/18 
to see if the record already has punctuation?


Thank you for your help koha!

Caroline


Caroline Cyr La Rose, M.L.I.S.
Librarian, Head of training and support
inLibro



More information about the Koha mailing list