# HG changeset patch
# User František Kučera <franta-hg@frantovo.cz>
# Date 1388689173 -3600
# Node ID 575a8c6b91ad86de4313f065cf16e81cf3f0c68f
# Parent  de0bcc3859cfb9ba06d59d7d762c9e826fbc3c78
Relax NG schema for XML configuration

diff -r de0bcc3859cf -r 575a8c6b91ad xml/config.rnc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/config.rnc	Thu Jan 02 19:59:33 2014 +0100
@@ -0,0 +1,27 @@
+default namespace = "https://sql-dk.globalcode.info/xmlns/configuration"
+
+start =
+	element configuration {
+		
+		element database {
+			element name { text },
+			element url { text },
+			element userName { text }?,
+			element password { text }?,
+			element property {
+				attribute name { text },
+				text
+			}*
+		}*,
+		
+		element defaultFormatter { text }?,
+		
+		element formatter {
+			element name { text },
+			element class { text },
+			element property {
+				attribute name { text },
+				text
+			}*
+		}*
+	}