Update scheme for XSLT parms
[metaproxy-moved-to-github.git] / xml / schema / retrievalinfo.rnc
index 7270a7f..d4a2573 100644 (file)
@@ -1,6 +1,6 @@
 # Metaproxy XML config file schemas
 # 
-#   Copyright (c) 2005-2008 Index Data.
+#   Copyright (C) 2005-2012 Index Data.
 # 
 #   See the LICENSE file for details
 # 
@@ -29,11 +29,22 @@ start |= retrievalinfo
 marc = element y:marc {
   attribute inputformat { xsd:string },
   attribute outputformat { xsd:string },
-  attribute inputcharset { xsd:string }
+  attribute inputcharset { xsd:string },
+  attribute outputcharset { xsd:string }?,
+  attribute leaderspec { xsd:string }?
 }
 
 xslt = element y:xslt {
-  attribute stylesheet { xsd:string }
+  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 = 
@@ -48,7 +59,7 @@ retrievalinfo =
       element y:backend {
       attribute syntax { xsd:string },
       attribute name { xsd:string }?,
-      (marc | xslt)*
+      (marc | xslt | usemarcon)*
       }?
     }+
   }