summaryrefslogtreecommitdiffstats
path: root/knewstuff/data/knewstuff.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'knewstuff/data/knewstuff.dtd')
-rw-r--r--knewstuff/data/knewstuff.dtd34
1 files changed, 34 insertions, 0 deletions
diff --git a/knewstuff/data/knewstuff.dtd b/knewstuff/data/knewstuff.dtd
new file mode 100644
index 000000000..b8f6ecd4e
--- /dev/null
+++ b/knewstuff/data/knewstuff.dtd
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!ELEMENT knewstuff (stuff*)>
+<!ELEMENT stuff (name,author,licence,summary*,version,release,releasedate,
+ preview*,payload*,rating?,downloads?)>
+ <!ATTLIST stuff type CDATA #IMPLIED>
+
+<!ELEMENT name (#PCDATA)>
+
+<!ELEMENT author (#PCDATA)>
+ <!ATTLIST author email CDATA #REQUIRED>
+
+<!ELEMENT licence (#PCDATA)>
+
+<!ELEMENT summary (#PCDATA)>
+ <!ATTLIST summary lang CDATA #REQUIRED>
+
+<!ELEMENT version (#PCDATA)>
+
+<!ELEMENT release (#PCDATA)>
+
+<!ELEMENT releasedate (#PCDATA)>
+
+<!ELEMENT url (#PCDATA)>
+
+<!ELEMENT preview (#PCDATA)>
+ <!ATTLIST preview lang CDATA #REQUIRED>
+
+<!ELEMENT payload (#PCDATA)>
+ <!ATTLIST payload lang CDATA #REQUIRED>
+
+<!ELEMENT rating (#PCDATA)>
+
+<!ELEMENT downloads (#PCDATA)>