X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=xml%2Fschema%2Fretrievalinfo.rnc;h=3e75da20975c5a58b0497f97a6157a2d34dcf931;hb=46bfa80f1062328333a1fe841581938bdeb94eb7;hp=b359e950a0aad7c61f06b2c11e97ad390563bb02;hpb=80dd43ea3bf2f69fda09584b60d8a0a5ce3f1dee;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index b359e95..3e75da2 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,29 +1,7 @@ -# Metaproxy XML config file schemas -# -# Copyright (C) 2005-2012 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 { @@ -35,7 +13,11 @@ marc = element y:marc { } xslt = element y:xslt { - attribute stylesheet { xsd:string } + attribute stylesheet { xsd:string }, + element y:param { + attribute name {xsd:string}, + attribute value {xsd:string} + }* } usemarcon = element y:usemarcon {