<!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 EMPTY>
<!ATTLIST label name CDATA #REQUIRED
                caption CDATA #REQUIRED
                layout CDATA #IMPLIED>

<!ELEMENT lineedit EMPTY>
<!ATTLIST lineedit name CDATA #REQUIRED
                   regexp CDATA #IMPLIED
                   layout CDATA #IMPLIED>

<!ELEMENT combo EMPTY>
<!ATTLIST combo name CDATA #REQUIRED
                layout CDATA #IMPLIED>

<!ELEMENT button EMPTY>
<!ATTLIST button name CDATA #REQUIRED
                 caption CDATA #REQUIRED
                 layout CDATA #IMPLIED
                 action CDATA #REQUIRED>