Happy new year
[metaproxy-moved-to-github.git] / xml / schema / filter_query_rewrite.rnc
index 8db3bdd..77a1c3a 100644 (file)
@@ -1,22 +1,4 @@
-# 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"
 
@@ -26,5 +8,8 @@ filter_query_rewrite =
   attribute name { xsd:NCName }?,
   element mp:xslt { 
         attribute stylesheet { xsd:string }
-  }
-
+  }?,
+  element mp:charset { 
+        attribute from { xsd:string }?,
+        attribute to { xsd:string }?
+  }?