marc

XSLT transformation returns empty XML

心不动则不痛 提交于 2019-12-25 02:17:05
问题 I am trying to transform a Dublin Core XML file to MODS XML format, but the transformation results in empty XML. The XSLT I'm using is from here: http://www.loc.gov/standards/mods/mods-conversions.html Here is an example DC XML file and the XSLT: https://xsltfiddle.liberty-development.net/gWmuiJe/2 I'm not getting any errors, and in theory this should work, but the resultant XML is empty. 来源: https://stackoverflow.com/questions/50756874/xslt-transformation-returns-empty-xml

xsl get element values from another node tree

左心房为你撑大大i 提交于 2019-12-14 04:19:57
问题 I have the following XML: <?xml version="1.0" encoding="UTF-8"?> <collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim..." xmlns="http://www.loc.gov/MARC21/slim"> <record> <leader>01877nz a2200433o 4500</leader> <controlfield tag="001">1</controlfield> <datafield tag="013" ind1=" " ind2=" "> <subfield code="a">formerge</subfield> </datafield> ... <datafield tag="150" ind1=" " ind2=" "> <subfield code="a">Borneo</subfield> <

Koha RESTful api

▼魔方 西西 提交于 2019-12-02 03:04:56
问题 I've been looking around the internet for information on Koha ILS restful api but I haven't found anything concrete. There is this link which talks about its HTTP API: http://wiki.koha-community.org/wiki/Koha_/svc/_HTTP_API but there are no examples and I'm quite confused with the MARCXML format required. What I want to do is use this API to create biblio records into a remote Koha ILS system. If I understand correctly, using these services I can create records (probably using a JSON-to-MARC

MySQL to update an XML attribute

帅比萌擦擦* 提交于 2019-11-28 06:15:59
问题 In data load, it seems some XML attributes mapped incorrectly and I'm now trying to correct this, but am struggling with MySQL's handling of this XML column. I want to correct the XML attributes (Not Values) for all occurrences of a field (with attribute 'tag="520"') with subfield (with attribute 'code="3"'). The query below returns 0 rows affected, 1 rows found. Any clues as to how to achieve this. UPDATE biblioitems SET marcxml = UpdateXML(marcxml,'datafield[@tag="520"]/subfield[@code="3"]'