Name: simulation/rngs/list-of-instances.rng 
1:
<!--
2:
  This file is part of CPEE.
3:
 
4:
  CPEE is free software: you can redistribute it and/or modify it under the terms
5:
  of the GNU General Public License as published by the Free Software Foundation,
6:
  either version 3 of the License, or (at your option) any later version.
7:
 
8:
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9:
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10:
  PARTICULAR PURPOSE.  See the GNU General Public License for more details.
11:
 
12:
  You should have received a copy of the GNU General Public License along with
13:
  CPEE (file COPYING in the main directory).  If not, see
14:
  <http://www.gnu.org/licenses/>.
15:
-->
16:
 
17:
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
18:
  <start>
19:
    <element name="instances">
20:
      <zeroOrMore>
21:
        <ref name="instance"/>
22:
      </zeroOrMore>  
23:
     </element>
24:
  </start>
25:
 
26:
  <define name="instance">
27:
    <element name='instance'>
28:
      <attribute name='id'>
29:
        <data type="integer"/>
30:
      </attribute>
31:
      <data type="string"/>
32:
    </element>
33:
  </define>  
34:
 
35:
</grammar>