Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Annotation of /branches/2.4.1-dev/xml/routino-translations.xsd
Parent Directory
|
Revision Log
Revision 925 -
(hide annotations)
(download)
Tue Dec 6 17:18:22 2011 UTC (13 years, 3 months ago) by amb
Original Path: trunk/xml/routino-translations.xsd
File size: 6801 byte(s)
Tue Dec 6 17:18:22 2011 UTC (13 years, 3 months ago) by amb
Original Path: trunk/xml/routino-translations.xsd
File size: 6801 byte(s)
Add new translate-able strings for roundabouts.
1 | amb | 370 | <?xml version="1.0" encoding="utf-8"?> |
2 | |||
3 | <!-- ============================================================ | ||
4 | An XML Schema Definition for the Routino translations XML format | ||
5 | |||
6 | Part of the Routino routing software. | ||
7 | ============================================================ | ||
8 | amb | 925 | This file Copyright 2010-2011 Andrew M. Bishop |
9 | amb | 370 | |
10 | This program is free software: you can redistribute it and/or modify | ||
11 | it under the terms of the GNU Affero General Public License as published by | ||
12 | the Free Software Foundation, either version 3 of the License, or | ||
13 | (at your option) any later version. | ||
14 | ============================================================ --> | ||
15 | |||
16 | <xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
17 | |||
18 | <!-- The top level Routino translation --> | ||
19 | |||
20 | <xsd:element name="routino-translations" type="RoutinoTranslationsType"/> | ||
21 | |||
22 | <xsd:complexType name="RoutinoTranslationsType"> | ||
23 | <xsd:sequence> | ||
24 | <xsd:element name="language" type="languageType" minOccurs="0" maxOccurs="unbounded"/> | ||
25 | </xsd:sequence> | ||
26 | </xsd:complexType> | ||
27 | |||
28 | <xsd:complexType name="languageType"> | ||
29 | <xsd:sequence> | ||
30 | amb | 378 | <xsd:element name="copyright" type="CopyrightType" minOccurs="0"/> |
31 | amb | 925 | <xsd:element name="turn" type="TurnType" minOccurs="0" maxOccurs="9"/> |
32 | <xsd:element name="heading" type="HeadingType" minOccurs="0" maxOccurs="9"/> | ||
33 | <xsd:element name="ordinal" type="OrdinalType" minOccurs="0" maxOccurs="10"/> | ||
34 | amb | 411 | <xsd:element name="highway" type="HighwayType" minOccurs="0" maxOccurs="unbounded"/> |
35 | amb | 378 | <xsd:element name="route" type="RouteType" minOccurs="0" maxOccurs="2"/> |
36 | <xsd:element name="output-html" type="HTMLType" minOccurs="0"/> | ||
37 | <xsd:element name="output-gpx" type="GPXType" minOccurs="0"/> | ||
38 | amb | 370 | </xsd:sequence> |
39 | <xsd:attribute name="lang" type="xsd:string"/> | ||
40 | </xsd:complexType> | ||
41 | |||
42 | amb | 378 | <!-- The copyright information (of the generated output, not of this file) --> |
43 | amb | 370 | |
44 | amb | 378 | <xsd:complexType name="CopyrightType"> |
45 | <xsd:sequence> | ||
46 | <xsd:element name="creator" type="CopyrightCreatorType" minOccurs="0"/> | ||
47 | <xsd:element name="source" type="CopyrightSourceType" minOccurs="0"/> | ||
48 | <xsd:element name="license" type="CopyrightLicenseType" minOccurs="0"/> | ||
49 | </xsd:sequence> | ||
50 | </xsd:complexType> | ||
51 | |||
52 | <xsd:complexType name="CopyrightCreatorType"> | ||
53 | <xsd:attribute name="string" type="xsd:string"/> | ||
54 | <xsd:attribute name="text" type="xsd:string"/> | ||
55 | </xsd:complexType> | ||
56 | |||
57 | <xsd:complexType name="CopyrightSourceType"> | ||
58 | <xsd:attribute name="string" type="xsd:string"/> | ||
59 | <xsd:attribute name="text" type="xsd:string"/> | ||
60 | </xsd:complexType> | ||
61 | |||
62 | <xsd:complexType name="CopyrightLicenseType"> | ||
63 | <xsd:attribute name="string" type="xsd:string"/> | ||
64 | <xsd:attribute name="text" type="xsd:string"/> | ||
65 | </xsd:complexType> | ||
66 | |||
67 | amb | 925 | <!-- The turn, heading, ordinal, highway and route strings --> |
68 | amb | 378 | |
69 | amb | 370 | <xsd:complexType name="TurnType"> |
70 | amb | 378 | <xsd:attribute name="direction" type="xsd:string"/> |
71 | <xsd:attribute name="string" type="xsd:string"/> | ||
72 | amb | 370 | </xsd:complexType> |
73 | |||
74 | <xsd:complexType name="HeadingType"> | ||
75 | amb | 378 | <xsd:attribute name="direction" type="xsd:string"/> |
76 | <xsd:attribute name="string" type="xsd:string"/> | ||
77 | amb | 370 | </xsd:complexType> |
78 | |||
79 | amb | 925 | <xsd:complexType name="OrdinalType"> |
80 | <xsd:attribute name="number" type="xsd:string"/> | ||
81 | <xsd:attribute name="string" type="xsd:string"/> | ||
82 | </xsd:complexType> | ||
83 | |||
84 | amb | 411 | <xsd:complexType name="HighwayType"> |
85 | <xsd:attribute name="type" type="xsd:string"/> | ||
86 | <xsd:attribute name="string" type="xsd:string"/> | ||
87 | </xsd:complexType> | ||
88 | |||
89 | amb | 378 | <xsd:complexType name="RouteType"> |
90 | <xsd:attribute name="type" type="xsd:string"/> | ||
91 | <xsd:attribute name="string" type="xsd:string"/> | ||
92 | </xsd:complexType> | ||
93 | |||
94 | amb | 370 | <!-- The HTML output strings --> |
95 | |||
96 | <xsd:complexType name="HTMLType"> | ||
97 | amb | 378 | <xsd:sequence> |
98 | amb | 925 | <xsd:element name="waypoint" type="HTMLWaypointType" maxOccurs="3"/> |
99 | amb | 378 | <xsd:element name="title" type="HTMLTitleType"/> |
100 | <xsd:element name="start" type="HTMLStartType"/> | ||
101 | <xsd:element name="node" type="HTMLNodeType"/> | ||
102 | amb | 925 | <xsd:element name="rbnode" type="HTMLRBNodeType"/> |
103 | amb | 378 | <xsd:element name="segment" type="HTMLSegmentType"/> |
104 | <xsd:element name="stop" type="HTMLStopType"/> | ||
105 | <xsd:element name="total" type="HTMLTotalType"/> | ||
106 | </xsd:sequence> | ||
107 | amb | 370 | </xsd:complexType> |
108 | |||
109 | amb | 378 | <xsd:complexType name="HTMLWaypointType"> |
110 | <xsd:attribute name="type" type="xsd:string"/> | ||
111 | <xsd:attribute name="string" type="xsd:string"/> | ||
112 | </xsd:complexType> | ||
113 | |||
114 | <xsd:complexType name="HTMLTitleType"> | ||
115 | <xsd:attribute name="text" type="xsd:string"/> | ||
116 | </xsd:complexType> | ||
117 | |||
118 | <xsd:complexType name="HTMLStartType"> | ||
119 | <xsd:attribute name="string" type="xsd:string"/> | ||
120 | <xsd:attribute name="text" type="xsd:string"/> | ||
121 | </xsd:complexType> | ||
122 | |||
123 | <xsd:complexType name="HTMLNodeType"> | ||
124 | <xsd:attribute name="string" type="xsd:string"/> | ||
125 | <xsd:attribute name="text" type="xsd:string"/> | ||
126 | </xsd:complexType> | ||
127 | |||
128 | amb | 925 | <xsd:complexType name="HTMLRBNodeType"> |
129 | <xsd:attribute name="string" type="xsd:string"/> | ||
130 | <xsd:attribute name="text" type="xsd:string"/> | ||
131 | </xsd:complexType> | ||
132 | |||
133 | amb | 378 | <xsd:complexType name="HTMLSegmentType"> |
134 | <xsd:attribute name="string" type="xsd:string"/> | ||
135 | <xsd:attribute name="text" type="xsd:string"/> | ||
136 | </xsd:complexType> | ||
137 | |||
138 | <xsd:complexType name="HTMLStopType"> | ||
139 | <xsd:attribute name="string" type="xsd:string"/> | ||
140 | <xsd:attribute name="text" type="xsd:string"/> | ||
141 | </xsd:complexType> | ||
142 | |||
143 | <xsd:complexType name="HTMLTotalType"> | ||
144 | <xsd:attribute name="string" type="xsd:string"/> | ||
145 | <xsd:attribute name="text" type="xsd:string"/> | ||
146 | </xsd:complexType> | ||
147 | |||
148 | amb | 370 | <!-- The GPX output strings --> |
149 | |||
150 | <xsd:complexType name="GPXType"> | ||
151 | <xsd:sequence> | ||
152 | amb | 378 | <xsd:element name="waypoint" type="GPXWaypointType" maxOccurs="4"/> |
153 | amb | 370 | <xsd:element name="desc" type="GPXDescType"/> |
154 | <xsd:element name="name" type="GPXNameType"/> | ||
155 | <xsd:element name="step" type="GPXStepType"/> | ||
156 | <xsd:element name="final" type="GPXFinalType"/> | ||
157 | </xsd:sequence> | ||
158 | </xsd:complexType> | ||
159 | |||
160 | <xsd:complexType name="GPXWaypointType"> | ||
161 | <xsd:attribute name="type" type="xsd:string"/> | ||
162 | <xsd:attribute name="string" type="xsd:string"/> | ||
163 | </xsd:complexType> | ||
164 | |||
165 | <xsd:complexType name="GPXDescType"> | ||
166 | <xsd:attribute name="text" type="xsd:string"/> | ||
167 | </xsd:complexType> | ||
168 | |||
169 | <xsd:complexType name="GPXNameType"> | ||
170 | <xsd:attribute name="text" type="xsd:string"/> | ||
171 | </xsd:complexType> | ||
172 | |||
173 | <xsd:complexType name="GPXStepType"> | ||
174 | <xsd:attribute name="text" type="xsd:string"/> | ||
175 | </xsd:complexType> | ||
176 | |||
177 | <xsd:complexType name="GPXFinalType"> | ||
178 | <xsd:attribute name="text" type="xsd:string"/> | ||
179 | </xsd:complexType> | ||
180 | |||
181 | </xsd:schema> |
Properties
Name | Value |
---|---|
cvs:description | An XML Schema Definition for translation information. |