RHEL installation instructions
[mp-xquery-moved-to-github.git] / bibframe / README
index 0a63e9b..98bc4f0 100644 (file)
@@ -7,6 +7,23 @@ In order for this to work, metaproxy and the mp-xquery software modules
 must be installed. The conversion uses the marc2bibframe software available
 from here: https://github.com/lcnetdev/marc2bibframe
 
+Installation
+------------
+
+Before these files can used, Metaproxy and the XQuery module must be
+installed. This is the RPM: mp-xquery
+
+This package depend on other packages: metaproxy, libmetaproxy6, libyaz5,
+zorba, etc.
+
+These packages can be auto-fetched by adding the Index Data YUM repository.
+Refer to http://ftp.indexdata.dk/pub/yaz/redhat/centos/6/README
+for more information.
+
+When this repository is enabled, the following command should suffice:
+  sudo yum install mp-xquery
+
+
 config.xml
 ----------
 
@@ -27,16 +44,6 @@ of marc2bibframe . Do not move zorba3-0.xqy from its place within the
 marc2bibframe directory as other files are referred to and their relative
 location must be preserved.
 
-marcxml_raw.patch
------------------
-zorba3-0.xqy must be patched before it can be used by Metaproxy's XQuery
-module. This is because zorba3-0.xqy at this stage do not allow
-"in-memory" conversion of records. For this reason patch zorba3-0.xqy as
-follows once before Metaproxy uses it:
-  cd marc2bibframe/xbin
-  patch < ~pathto/marcxml_raw.patch
-
-
 cql2pqf.txt
 -----------
 Contains a simple DC/CQL profile for driving a CQL to RPN conversion.
@@ -58,7 +65,8 @@ files are located in /usr/share/bibframe/xsl , then http_file would hold
       <filter type="http_file">
         <area>
           <documentroot>/usr/share/bibframe/xsl</documentroot>
-          <prefix>/xsl</prefix>
+          <prefix></prefix>
+          <passthru>true</passthru>
         </area>
       </filter>