From: Adam Dickmeiss Date: Wed, 13 Mar 2013 13:27:49 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy X-Git-Tag: v1.3.54~6 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3a331f89650516f614122ef51cc1523277b56db8;hp=6e9a17fa34cc226ffcb870b37229af25beefbc35;p=metaproxy-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy --- diff --git a/doc/book.xml b/doc/book.xml index 3d1587b..8eaa1af 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -169,6 +169,11 @@ Microsoft Visual Studio 2003/2005/2008. + + As an option, Metaproxy may also be compiled with + USEMARCON support which allows for + MARC conversions for the filter. +
Installation on Unix (from Source) @@ -178,6 +183,14 @@ installed as development packages use those (and omit compilation). + + + USEMARCON is not available + as a package at the moment, so Metaproxy must be built from source + if that is to be used. + + +
Libxml2/libxslt @@ -200,6 +213,18 @@ make install
+
+ USEMARCON (optional) + + gunzip -c usemarcon317.tar.gz|tar xf - + cd usemarcon317 + ./configure + make + su + make install + +
+
YAZ/YAZ++ @@ -276,7 +301,7 @@ All dependencies for Metaproxy are available as Debian - packages for the sarge (stable in 2005) and etch (testing in 2005) + packages for the squeeze (stable in 2012) and wheezy (testing in 2012) distributions. diff --git a/doc/record_transform.xml b/doc/record_transform.xml index 15e1055..c490d56 100644 --- a/doc/record_transform.xml +++ b/doc/record_transform.xml @@ -49,14 +49,33 @@ Retrieval Facility section of the YAZ manual. + + From Metaproxy version 1.3.26 and onwards the backend conversion ma + also use USEMARCON. + If USEMARCON is enabled, the backend may include + a usemarcon element with two attributes: + stage1 and stage2 that points to + conversion files as interpreted by USEMARCON. One or both must be given. + SCHEMA - - + + Schema is in two parts.. One for the filter itself and one for the + retrieval info. + + + + + + + EXAMPLES @@ -84,6 +103,11 @@ + + + + + ]]> diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index e5df05f..3e75da2 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,29 +1,7 @@ -# Metaproxy XML config file schemas -# -# Copyright (C) 2005-2013 Index Data. -# -# See the LICENSE file for details -# -# -# The RelaxNG Compact Syntax file 'retrievalinfo.rnc' is the master copy. -# -# The RelaxNG XML Syntax and XML Schema are generated using 'trang': -# trang retrievalinfo.rnc retrievalinfo.rng -# trang retrievalinfo.rnc retrievalinfo.xsd -# -# Config file validation is done using 'xmllint': -# xmllint -/-relaxng retrievalinfo.rng retrievalinfo.xml -# xmllint -/-schema retrievalinfo.xsd retirevalinfo.xml -# -# For information on RelaxNG see http://relaxng.org -# see also http://books.xmlschemata.org/relaxng/ +# Schema for YAZ retrieval info and USEMARCON extension namespace y = "http://indexdata.com/yaz" -# need to be in different namespace then metaproxy, otherwise -# xslt element definition clashes in XML Schema files -# namespace y = "http://indexdata.com/metaproxy" - start |= retrievalinfo marc = element y:marc {