counting dead backends correctly
[metaproxy-moved-to-github.git] / xml / schema / metaproxy.rnc
index 4757eef..d6b6057 100644 (file)
@@ -1,5 +1,5 @@
 # Metaproxy XML config file schemas
-#  $Id: metaproxy.rnc,v 1.10 2006-11-30 23:10:26 marc Exp $
+#  $Id: metaproxy.rnc,v 1.13 2007-01-02 15:35:36 marc Exp $
 # 
 #   Copyright (c) 2005-2006, Index Data.
 # 
@@ -50,6 +50,7 @@ filter =
     | filter_bounce
     | filter_frontend_net
     | filter_http_file
+    | filter_load_balance
     | filter_log
     | filter_multi
     | filter_query_rewrite
@@ -58,6 +59,7 @@ filter =
     | filter_sru_z3950
     | filter_virt_db
     | filter_z3950_client
+    | filter_zeerex_explain
   }
 
 filter_refid = attribute refid { xsd:NCName }
@@ -98,6 +100,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 +134,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" },
@@ -167,3 +176,8 @@ 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 }?