source: java/Framclipse/com.framsticks.framclipse/res/framscontext.dtd @ 1058

Last change on this file since 1058 was 440, checked in by Mateusz Poszwa, 8 years ago
  • Updated Xtext-based Framclipse
  • Deleted previous version of Framclipse
  • Property svn:mime-type set to text/plain
File size: 1.1 KB
Line 
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 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 that uses some objects
13 - <script> plain text file containing a script
14
15<script> excludes the two following tags.
16<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.
17-->
18
19<!ELEMENT objects (#PCDATA)>
20<!ATTLIST objects context CDATA #REQUIRED>
21
22<!ELEMENT code (context*)>
23<!ATTLIST code object CDATA #REQUIRED>
24<!ATTLIST code member CDATA #REQUIRED>
25
26<!ELEMENT context (#PCDATA)>
27<!ATTLIST context name CDATA #REQUIRED>
28
29<!ELEMENT script (#PCDATA)>
30<!ATTLIST script context CDATA #REQUIRED>
31
32<!ELEMENT properties (#PCDATA)>
33<!ATTLIST properties from CDATA #REQUIRED>
34<!ATTLIST properties to CDATA #REQUIRED>
Note: See TracBrowser for help on using the repository browser.