X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=xml%2Fschema%2Fretrievalinfo.rnc;h=7270a7f9214c44e75ef2ce97812bfcd15a6c99bc;hb=60d4816be16dc740e99f01ca4c6f2e086b6b5a78;hp=8979c6b83080b46b1994594192ad4f08ee3d915d;hpb=7dc36b471bbcbd46dabe65290295aa6674a70db8;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 8979c6b..7270a7f 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.5 2007-01-25 11:25:20 adam Exp $ # -# Copyright (c) 2005-2006, Index Data. +# Copyright (c) 2005-2008 Index Data. # # See the LICENSE file for details # @@ -27,6 +26,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 +48,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)* }? }+ }