X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=xml%2Fschema%2Fretrievalinfo.rnc;h=d4a257383bdbe26008eae9aec2f1e1160c6184d6;hb=24037b116e6c6a46a477e973e60e5fe6030b46c3;hp=8979c6b83080b46b1994594192ad4f08ee3d915d;hpb=7dc36b471bbcbd46dabe65290295aa6674a70db8;p=metaproxy-moved-to-github.git diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 8979c6b..d4a2573 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-2012 Index Data. # # See the LICENSE file for details # @@ -27,6 +26,27 @@ 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 }, + element y:param { + attribute name {xsd:string}, + attribute value {xsd:string} + }* +} + +usemarcon = element y:usemarcon { + attribute stage1 { xsd:string }?, + attribute stage2 { xsd:string }? +} + retrievalinfo = element y:retrievalinfo { attribute version { "1.0" }, @@ -39,14 +59,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)* }? }+ }