X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=xml%2Fschema%2Fretrievalinfo.rnc;h=c319d53f4753d95c2b7b83cf5322a3a4b6de2b0c;hb=65891117aa6fc2bc628b907489d57e5a845ad8a8;hp=8979c6b83080b46b1994594192ad4f08ee3d915d;hpb=9f30787c136d9030c0d7f3a210be277e2a6503f5;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 8979c6b..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.5 2007-01-25 11:25:20 adam 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)* }? }+ }