Split config schemas to separate files
[metaproxy-moved-to-github.git] / xml / schema / filter_z3950_client.rnc
1 # Metaproxy XML config file schemas
2
3 #   Copyright (C) 2005-2011 Index Data.
4
5 #   See the LICENSE file for details
6
7
8 # The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy.
9
10 # The RelaxNG XML Syntax and XML Schema are generated using 'trang':
11 # trang metaproxy.rnc metaproxy.rng 
12 # trang metaproxy.rnc metaproxy.xsd 
13
14 # Config file validation is done using 'xmllint':
15 # xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml 
16 # xmllint -/-schema metaproxy.xsd config-bytarget.xml
17
18 # For information on RelaxNG see http://relaxng.org 
19 # see also http://books.xmlschemata.org/relaxng/
20
21 namespace mp = "http://indexdata.com/metaproxy"
22
23 filter_z3950_client =
24   attribute type { "z3950_client" },
25   attribute id { xsd:NCName }?,
26   attribute name { xsd:NCName }?,
27   element mp:timeout { xsd:integer }?,
28   element mp:default_target { xsd:string }?,
29   element mp:force_target { xsd:string }?,
30   element mp:force_close { xsd:boolean }?
31