summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBrian Tarricone <brian@tarricone.org>2007-09-06 09:25:02 +0000
committerBrian Tarricone <brian@tarricone.org>2007-09-06 09:25:02 +0000
commit2bbb308832c1e3da927aaeb690e1ba984eb07f78 (patch)
tree9fdb9cb7a1d603bdce5329c1a7bdf9823d9d7a81 /docs
parentde245bdc6727e24f6fe6c68c4ad1a4c23b982368 (diff)
downloadxfconf-2bbb308832c1e3da927aaeb690e1ba984eb07f78.tar.gz
add prelim dtd for the perchannel-xml backend
(Old svn revision: 26726)
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am3
-rw-r--r--docs/spec/perchannel-xml.dtd15
2 files changed, 17 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 74e86fd..a6481e4 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,2 +1,3 @@
SUBDIRS = \
- reference
+ reference \
+ spec
diff --git a/docs/spec/perchannel-xml.dtd b/docs/spec/perchannel-xml.dtd
new file mode 100644
index 0000000..118becf
--- /dev/null
+++ b/docs/spec/perchannel-xml.dtd
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!ELEMENT channel property*>
+<!ELEMENT property string*> <!-- <string> elems only if type="strlist" -->
+<!ELEMENT string #PCDATA>
+
+<!ATTLIST channel name CDATA #REQUIRED>
+<!ATTLIST channel version CDATA #REQUIRED>
+
+<!ATTLIST property name CDATA #REQUIRED>
+<!ATTLIST property type (string|strlist|int|int64|double|bool|empty) #REQUIRED>
+<!ATTLIST property value CDATA #IMPLIED> <!-- not used if type="strlist"
+ or type="empty" -->
+
+<!-- <string> element has no attributes -->