summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dtd/macro.dtd31
1 files changed, 31 insertions, 0 deletions
diff --git a/dtd/macro.dtd b/dtd/macro.dtd
new file mode 100644
index 0000000..f90c0b7
--- /dev/null
+++ b/dtd/macro.dtd
@@ -0,0 +1,31 @@
+<!ELEMENT macro (window)>
+<!ATTLIST macro name CDATA #REQUIRED
+ cpr CDATA #REQUIRED>
+
+<!ELEMENT window (lineedit|label|combo|button|frame)*>
+<!ATTLIST window name CDATA #REQUIRED
+ layout CDATA #REQUIRED>
+
+<!ELEMENT frame (lineedit|label|combo|button|frame)*>
+<!ATTLIST frame name CDATA #REQUIRED
+ layout CDATA #REQUIRED>
+
+<!ELEMENT label (lineedit|label|combo|button|frame)*>
+<!ATTLIST label name CDATA #REQUIRED
+ caption CDATA #REQUIRED
+ layout CDATA #IMPLIED>
+
+<!ELEMENT lineedit (lineedit|label|combo|button|frame)*>
+<!ATTLIST lineedit name CDATA #REQUIRED
+ regexp CDATA #IMPLIED
+ layout CDATA #IMPLIED>
+
+<!ELEMENT combo (lineedit|label|combo|button|frame)*>
+<!ATTLIST combo name CDATA #REQUIRED
+ layout CDATA #IMPLIED>
+
+<!ELEMENT button (lineedit|label|combo|button|frame)*>
+<!ATTLIST button name CDATA #REQUIRED
+ caption CDATA #REQUIRED
+ layout CDATA #IMPLIED
+ action CDATA #REQUIRED>