update retrievalinfo schema
[metaproxy-moved-to-github.git] / xml / schema / retrievalinfo.rnc
index 9d731af..b359e95 100644 (file)
@@ -29,13 +29,20 @@ 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 }
 }
 
+usemarcon = element y:usemarcon {
+  attribute stage1 { xsd:string }?,
+  attribute stage2 { xsd:string }?
+}
+
 retrievalinfo = 
   element y:retrievalinfo { 
     attribute version { "1.0" },
@@ -48,7 +55,7 @@ retrievalinfo =
       element y:backend {
       attribute syntax { xsd:string },
       attribute name { xsd:string }?,
-      (marc | xslt)*
+      (marc | xslt | usemarcon)*
       }?
     }+
   }