1 # Metaproxy XML config file schemas
3 # Copyright (c) 2005-2008 Index Data.
5 # See the LICENSE file for details
8 # The RelaxNG Compact Syntax file 'retrievalinfo.rnc' is the master copy.
10 # The RelaxNG XML Syntax and XML Schema are generated using 'trang':
11 # trang retrievalinfo.rnc retrievalinfo.rng
12 # trang retrievalinfo.rnc retrievalinfo.xsd
14 # Config file validation is done using 'xmllint':
15 # xmllint -/-relaxng retrievalinfo.rng retrievalinfo.xml
16 # xmllint -/-schema retrievalinfo.xsd retirevalinfo.xml
18 # For information on RelaxNG see http://relaxng.org
19 # see also http://books.xmlschemata.org/relaxng/
21 namespace y = "http://indexdata.com/yaz"
23 # need to be in different namespace then metaproxy, otherwise
24 # xslt element definition clashes in XML Schema files
25 # namespace y = "http://indexdata.com/metaproxy"
27 start |= retrievalinfo
29 marc = element y:marc {
30 attribute inputformat { xsd:string },
31 attribute outputformat { xsd:string },
32 attribute inputcharset { xsd:string }
35 xslt = element y:xslt {
36 attribute stylesheet { xsd:string }
40 element y:retrievalinfo {
41 attribute version { "1.0" },
43 attribute syntax { xsd:string },
44 attribute name { xsd:string }?,
45 attribute identifier { xsd:string }?,
46 #attribute backendsyntax { xsd:string }?,
47 #attribute backendname { xsd:string }?,
49 attribute syntax { xsd:string },
50 attribute name { xsd:string }?,