Browse CVS Repository
Contents of /freetrain/FreeTrain/core/picture.rnc
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( show annotations)
( download)
Sat Feb 15 18:14:32 2003 UTC
(21 years, 1 month ago)
by kkawa
Branch: MAIN
CVS Tags: kohsuke-checkpoint-20031229, HEAD
Branch point for: BRANCH_VS2008, C477_Unofficial200309
added splash screen
| 1 |
# |
| 2 |
# schema fro FreeTrain plugin.xml files |
| 3 |
# |
| 4 |
# picture module |
| 5 |
# |
| 6 |
# $id:$ |
| 7 |
# |
| 8 |
|
| 9 |
|
| 10 |
# picture contribution |
| 11 |
contribution |= |
| 12 |
attribute type {"picture"}, |
| 13 |
pictureDef |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
# picture definition |
| 18 |
pictureDef = |
| 19 |
element picture { |
| 20 |
# URL of the picture of a structure |
| 21 |
attribute src {xsd:anyURI}, |
| 22 |
# override pictures. |
| 23 |
# by default, all the pictures are computed from the above one |
| 24 |
# picture. By using these overrides, one can specify a custom |
| 25 |
# pictures (for example to add neon sign, etc.) |
| 26 |
element override { |
| 27 |
attribute when { |
| 28 |
"night"|"spring"|"summer"|"fall"|"autumn"|"winter" |
| 29 |
}, |
| 30 |
attribute src {xsd:anyURI} |
| 31 |
}* |
| 32 |
} |
| 33 |
|
| 34 |
# picture reference |
| 35 |
pictureRef = |
| 36 |
element picture { |
| 37 |
# reference to the ID of a picture contribution |
| 38 |
attribute ref {xs:token} |
| 39 |
} |
| 40 |
|
| 41 |
picture = pictureDef | pictureRef |
|