[13] | 1 | <!ELEMENT framscontext (file*)> |
---|
| 2 | |
---|
| 3 | <!ELEMENT file (objects*,code*,script*,properties*)> |
---|
| 4 | <!ATTLIST file pattern CDATA #REQUIRED> |
---|
| 5 | <!ATTLIST file label CDATA #IMPLIED> |
---|
| 6 | |
---|
| 7 | <!-- |
---|
| 8 | framsticks files can reference scripting objects in 3 ways |
---|
| 9 | as described by the 3 tags of the framscontext.xml file: |
---|
| 10 | |
---|
| 11 | - <objects> framsticks objects are stored in the file in the framsticks format |
---|
| 12 | - <code> a field in the file (using the framsticks format) contains a script |
---|
| 13 | that uses some objects |
---|
| 14 | - <script> plain text file containing a script |
---|
| 15 | |
---|
| 16 | <script> excludes the two following tags. |
---|
| 17 | <code> implies that the framsticks format is used for the file so the <objects> tags will be also used to declare which objects can be present in the file. |
---|
| 18 | --> |
---|
| 19 | |
---|
| 20 | <!ELEMENT objects (#PCDATA)> |
---|
| 21 | <!ATTLIST objects context CDATA #REQUIRED> |
---|
| 22 | |
---|
| 23 | <!ELEMENT code (context*)> |
---|
| 24 | <!ATTLIST code object CDATA #REQUIRED> |
---|
| 25 | <!ATTLIST code member CDATA #REQUIRED> |
---|
| 26 | |
---|
| 27 | <!ELEMENT context (#PCDATA)> |
---|
| 28 | <!ATTLIST context name CDATA #REQUIRED> |
---|
| 29 | |
---|
| 30 | <!ELEMENT script (#PCDATA)> |
---|
| 31 | <!ATTLIST script context CDATA #REQUIRED> |
---|
| 32 | |
---|
| 33 | <!ELEMENT properties (#PCDATA)> |
---|
| 34 | <!ATTLIST properties from CDATA #REQUIRED> |
---|
| 35 | <!ATTLIST properties to CDATA #REQUIRED> |
---|