X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=xml%2Fschema%2Fretrievalinfo.rnc;h=b359e950a0aad7c61f06b2c11e97ad390563bb02;hb=80dd43ea3bf2f69fda09584b60d8a0a5ce3f1dee;hp=5819113462784ae685513bb056ddfc4d3214fca6;hpb=a911db8ff225da3d204c6e9371353895225ae231;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 5819113..b359e95 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,7 +1,6 @@ # Metaproxy XML config file schemas -# $Id: retrievalinfo.rnc,v 1.4 2006-12-12 11:01:40 marc Exp $ # -# Copyright (c) 2005-2006, Index Data. +# Copyright (C) 2005-2012 Index Data. # # See the LICENSE file for details # @@ -27,6 +26,23 @@ namespace y = "http://indexdata.com/yaz" start |= retrievalinfo +marc = element y:marc { + attribute inputformat { xsd:string }, + attribute outputformat { xsd:string }, + attribute inputcharset { xsd:string }, + attribute outputcharset { xsd:string }?, + attribute leaderspec { xsd:string }? +} + +xslt = element y:xslt { + attribute stylesheet { xsd:string } +} + +usemarcon = element y:usemarcon { + attribute stage1 { xsd:string }?, + attribute stage2 { xsd:string }? +} + retrievalinfo = element y:retrievalinfo { attribute version { "1.0" }, @@ -39,14 +55,7 @@ retrievalinfo = element y:backend { attribute syntax { xsd:string }, attribute name { xsd:string }?, - element y:marc { - attribute inputformat { xsd:string }, - attribute outputformat { xsd:string }, - attribute inputcharset { xsd:string } - }, - element y:xslt { - attribute stylesheet { xsd:string } - }? + (marc | xslt | usemarcon)* }? }+ }