X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=xml%2Fschema%2Fmetaproxy.rnc;h=9f49097ea2df064ea445b989618b2f47f988039b;hb=9257766cd43b17520940b4343bf77a74a7d3776a;hp=4e91ab7efc68f6dcaae067737dc910575d155a8f;hpb=5e9ddb5ec51270d90289a362ebef9ba2dd759706;p=metaproxy-moved-to-github.git diff --git a/xml/schema/metaproxy.rnc b/xml/schema/metaproxy.rnc index 4e91ab7..9f49097 100644 --- a/xml/schema/metaproxy.rnc +++ b/xml/schema/metaproxy.rnc @@ -1,5 +1,5 @@ # Metaproxy XML config file schemas -# $Id: metaproxy.rnc,v 1.9 2006-11-29 21:45:04 marc Exp $ +# $Id: metaproxy.rnc,v 1.15 2007-01-08 13:07:39 marc Exp $ # # Copyright (c) 2005-2006, Index Data. # @@ -22,9 +22,11 @@ namespace mp = "http://indexdata.com/metaproxy" +start |= metaproxy + include "retrievalinfo.rnc" -start = metaproxy +any = (text | element * { attribute * { text }*, any })* metaproxy = element mp:metaproxy { @@ -50,6 +52,7 @@ filter = | filter_bounce | filter_frontend_net | filter_http_file + | filter_load_balance | filter_log | filter_multi | filter_query_rewrite @@ -58,6 +61,7 @@ filter = | filter_sru_z3950 | filter_virt_db | filter_z3950_client +# | filter_zeerex_explain } filter_refid = attribute refid { xsd:NCName } @@ -98,6 +102,11 @@ filter_http_file = element mp:prefix { xsd:string } } +filter_load_balance = + attribute type { "load_balance" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }? + filter_log = attribute type { "log" }, attribute id { xsd:NCName }?, @@ -127,7 +136,9 @@ filter_query_rewrite = attribute type { "query_rewrite" }, attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, - element mp:xslt { xsd:string } + element mp:xslt { + attribute stylesheet { xsd:string } + } filter_record_transform = attribute type { "record_transform" }, @@ -150,7 +161,11 @@ filter_session_shared = filter_sru_z3950 = attribute type { "sru_z3950" }, attribute id { xsd:NCName }?, - attribute name { xsd:NCName }? + attribute name { xsd:NCName }?, + element mp:database { + attribute name { xsd:NCName }, + any + }+ filter_virt_db = attribute type { "virt_db" }, @@ -167,3 +182,14 @@ filter_z3950_client = attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, element mp:timeout { xsd:integer }? + +#filter_zeerex_explain = +# attribute type { "zeerex_explain" }, +# attribute id { xsd:NCName }?, +# attribute name { xsd:NCName }?, +# element mp:database { +# attribute name { xsd:NCName }, +# any +# }+ + + \ No newline at end of file