updated XML config files to use Xinclude, and to conform to new <retrievalinfo>...
[metaproxy-moved-to-github.git] / xml / schema / retrievalinfo.rnc
index 62ec097..5819113 100644 (file)
@@ -1,5 +1,5 @@
 # Metaproxy XML config file schemas
-#  $Id: retrievalinfo.rnc,v 1.2 2006-11-29 21:43:38 marc Exp $
+#  $Id: retrievalinfo.rnc,v 1.4 2006-12-12 11:01:40 marc Exp $
 # 
 #   Copyright (c) 2005-2006, Index Data.
 # 
 # For information on RelaxNG see http://relaxng.org 
 # see also http://books.xmlschemata.org/relaxng/
 
-#namespace y = "http://indexdata.com/yaz"
-namespace y = "http://indexdata.com/metaproxy"
+namespace y = "http://indexdata.com/yaz"
 
-#start = retrievalinfo
+# need to be in different namespace then metaproxy, otherwise 
+# xslt element definition clashes in XML Schema files
+# namespace y = "http://indexdata.com/metaproxy"
+
+start |= retrievalinfo
 
 retrievalinfo = 
   element y:retrievalinfo { 
@@ -31,9 +34,11 @@ retrievalinfo =
       attribute syntax { xsd:string },
       attribute name { xsd:string }?,
       attribute identifier { xsd:string }?,
-      attribute backendsyntax { xsd:string }?,
-      attribute backendname { xsd:string }?,
-      element y:convert {
+      #attribute backendsyntax { xsd:string }?,
+      #attribute backendname { xsd:string }?,
+      element y:backend {
+      attribute syntax { xsd:string },
+      attribute name { xsd:string }?,
         element y:marc {
           attribute inputformat { xsd:string },
           attribute outputformat { xsd:string },