Lines 325-330
sub buildKohaItemsNamespace {
Link Here
|
325 |
$location = $item->{location}? xml_escape($shelflocations->{$item->{location}}||$item->{location}):''; |
325 |
$location = $item->{location}? xml_escape($shelflocations->{$item->{location}}||$item->{location}):''; |
326 |
$ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}||$item->{ccode}):''; |
326 |
$ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}||$item->{ccode}):''; |
327 |
my $itemcallnumber = xml_escape($item->{itemcallnumber}); |
327 |
my $itemcallnumber = xml_escape($item->{itemcallnumber}); |
|
|
328 |
my $stocknumber = $item->{stocknumber}? xml_escape($item->{stocknumber}):''; |
328 |
$xml .= |
329 |
$xml .= |
329 |
"<item>" |
330 |
"<item>" |
330 |
. "<homebranch>$homebranch</homebranch>" |
331 |
. "<homebranch>$homebranch</homebranch>" |
Lines 333-338
sub buildKohaItemsNamespace {
Link Here
|
333 |
. "<ccode>$ccode</ccode>" |
334 |
. "<ccode>$ccode</ccode>" |
334 |
. "<status>$status</status>" |
335 |
. "<status>$status</status>" |
335 |
. "<itemcallnumber>$itemcallnumber</itemcallnumber>" |
336 |
. "<itemcallnumber>$itemcallnumber</itemcallnumber>" |
|
|
337 |
. "<stocknumber>$stocknumber</stocknumber>" |
336 |
. "</item>"; |
338 |
. "</item>"; |
337 |
} |
339 |
} |
338 |
$xml = "<items xmlns=\"http://www.koha-community.org/items\">".$xml."</items>"; |
340 |
$xml = "<items xmlns=\"http://www.koha-community.org/items\">".$xml."</items>"; |
339 |
- |
|
|