-# The RelaxNG Compact Syntax file is the master copy
+# Metaproxy XML config file schemas
+# $Id: metaproxy.rnc,v 1.3 2006-10-06 22:42:24 marc Exp $
+#
+# Copyright (c) 2005-2006, Index Data.
+#
+# See the LICENSE file for details
+#
+#
+# The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy.
+#
+# The RelaxNG XML Syntax and XML Schema are generated using 'trang':
# trang metaproxy.rnc metaproxy.rng
+# trang metaproxy.rnc metaproxy.xsd
+#
+# Config file validation is done using 'xmllint':
# xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml
-# see also http://books.xmlschemata.org/relaxng/relax-CHP-16-SECT-2.html
+# xmllint --schema metaproxy.xsd config-bytarget.xml
+#
+# For information on RelaxNG see http://relaxng.org
+# see also http://books.xmlschemata.org/relaxng/
default namespace = "http://indexdata.dk/yp2/config/1"
attribute type { "multi" },
attribute id { xsd:NCName }?,
attribute name { xsd:NCName }?,
+ element target {
+ attribute route { xsd:string },
+ xsd:string
+ }*,
element hideunavailable { empty }?
filter_query_rewrite =