X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=xml%2Fschema%2Fretrievalinfo.rnc;h=06952618285a946d44da88e3ca8635f696a25940;hb=2132ff6b267c65831b47d481aaff7329207ff446;hp=a20b220354c16133f8a8121ef683ad9de5a6adf2;hpb=13ededc67712ac2ecb30677b016b3f6cf4ad4eab;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index a20b220..0695261 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,39 +1,23 @@ -# 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 { attribute inputformat { xsd:string }, attribute outputformat { xsd:string }, - attribute inputcharset { xsd:string } + attribute inputcharset { xsd:string }, + attribute outputcharset { xsd:string }?, + attribute leaderspec { xsd:string }? } 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 { @@ -48,8 +32,6 @@ retrievalinfo = attribute syntax { xsd:string }, attribute name { xsd:string }?, attribute identifier { xsd:string }?, - #attribute backendsyntax { xsd:string }?, - #attribute backendname { xsd:string }?, element y:backend { attribute syntax { xsd:string }, attribute name { xsd:string }?,