X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=xml%2Fschema%2Fretrievalinfo.rnc;h=c319d53f4753d95c2b7b83cf5322a3a4b6de2b0c;hb=bddb5f0c90332a14929d25464849f23420c58a3b;hp=5819113462784ae685513bb056ddfc4d3214fca6;hpb=a911db8ff225da3d204c6e9371353895225ae231;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 5819113..c319d53 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,7 +1,7 @@ # Metaproxy XML config file schemas -# $Id: retrievalinfo.rnc,v 1.4 2006-12-12 11:01:40 marc Exp $ +# $Id: retrievalinfo.rnc,v 1.6 2007-01-26 14:46:31 adam Exp $ # -# Copyright (c) 2005-2006, Index Data. +# Copyright (c) 2005-2007, Index Data. # # See the LICENSE file for details # @@ -27,6 +27,16 @@ namespace y = "http://indexdata.com/yaz" start |= retrievalinfo +marc = element y:marc { + attribute inputformat { xsd:string }, + attribute outputformat { xsd:string }, + attribute inputcharset { xsd:string } +} + +xslt = element y:xslt { + attribute stylesheet { xsd:string } +} + retrievalinfo = element y:retrievalinfo { attribute version { "1.0" }, @@ -39,14 +49,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)* }? }+ }