diff --git a/lib/C4/XSLT.pm b/lib/C4/XSLT.pm index 1c45e44..95a50ae 100644 --- a/lib/C4/XSLT.pm +++ b/lib/C4/XSLT.pm @@ -213,6 +213,10 @@ sub buildKohaItemsNamespace { my $homebranch = $branches->{$item->{homebranch}}->{'branchname'}; my $itemcallnumber = $item->{itemcallnumber} || ''; $itemcallnumber =~ s/\&/\&\;/g; + $itemcallnumber =~ s/\/\>\;/g; + $itemcallnumber =~ s/'/\&apos\;/g; + $itemcallnumber =~ s/"/\"\;/g; $xml.= "$homebranch". "$status". "".$itemcallnumber.""