Name: simulation/rngs/list-of-simulations.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="simulations"> |
| 20: | <zeroOrMore> |
| 21: | <ref name="simulation"/> |
| 22: | </zeroOrMore> |
| 23: | </element> |
| 24: | </start> |
| 25: | |
| 26: | <define name="simulation"> |
| 27: | <element name='simulation'> |
| 28: | <attribute name='id'> |
| 29: | <data type="integer"/> |
| 30: | </attribute> |
| 31: | <attribute name='date'> |
| 32: | <data type="dateTime"/> |
| 33: | </attribute> |
| 34: | <attribute name='offset'> |
| 35: | <data type="string"/> |
| 36: | </attribute> |
| 37: | <attribute name='status'> |
| 38: | <data type="string"/> |
| 39: | </attribute> |
| 40: | <data type="anyURI"/> |
| 41: | </element> |
| 42: | </define> |
| 43: | |
| 44: | </grammar> |
