X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=xml%2Fschema%2Ffilter_cgi.rnc;h=71651f46ccf92a0d2e7dccf3d39d2524011937af;hb=HEAD;hp=259c416a54ca15764a7fdedc47ca9551e0731bf8;hpb=94a8a11a9816ef32713b965615ecedbe0ec59c48;p=metaproxy-moved-to-github.git diff --git a/xml/schema/filter_cgi.rnc b/xml/schema/filter_cgi.rnc index 259c416..71651f4 100644 --- a/xml/schema/filter_cgi.rnc +++ b/xml/schema/filter_cgi.rnc @@ -1,30 +1,15 @@ -# Metaproxy XML config file schemas -# -# Copyright (C) 2005-2011 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 -# xmllint -/-schema metaproxy.xsd config-bytarget.xml -# -# For information on RelaxNG see http://relaxng.org -# see also http://books.xmlschemata.org/relaxng/ +# Metaproxy XML config file schema namespace mp = "http://indexdata.com/metaproxy" filter_cgi = attribute type { "cgi" }, + element mp:documentroot { xsd:string }, + element mp:env { + attribute name { xsd:string }, + attribute value { xsd:string } + }*, element mp:map { attribute path { xsd:string }, attribute exec { xsd:string } }* - - \ No newline at end of file