1 <?xml version="1.0" encoding="ISO-8859-1"?>
4 <!DOCTYPE application SYSTEM "ds-style.dtd" [
5 <!ENTITY h1.font '-*-helvetica-bold-r-*-*-18-*-*-*-*-*-*-*'>
6 <!ENTITY h2.font '-*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*'>
7 <!ENTITY h3.font '-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*'>
8 <!ENTITY dfl.font '-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*'>
9 <!ENTITY dfl.bold.font '-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*'>
10 <!ENTITY in.font '-*-lucidatypewriter-medium-r-*-*-12-*-*-*-*-*-*-*'>
12 <!ENTITY bg.button 'lightblue'>
13 <!ENTITY bg.hilfe '#E0E0E0'>
14 <!ENTITY fg.hilfe 'black'>
18 <label font="&h2.font;" fgcolor="darkgreen">More about person...</label>
19 <vspace height="2mm"/>
21 <hbox bgcolor="black">
22 <hspace width="18cm"/>
23 <vbox><vspace height="2px"/></vbox>
27 <vspace height="3mm"/>
30 <!ENTITY help.headline
32 <label font="&h2.font;" fgcolor="darkgreen">Help</label>
33 <vspace height="2mm"/>
35 <hbox bgcolor="black">
36 <hspace width="18cm"/>
37 <vbox><vspace height="2px"/></vbox>
41 <vspace height="3mm"/>
44 <!ENTITY info.headline
46 <label font="&h2.font;" fgcolor="darkgreen">About xmlforms</label>
47 <vspace height="2mm"/>
49 <hbox bgcolor="black">
50 <hspace width="18cm"/>
51 <vbox><vspace height="2px"/></vbox>
55 <vspace height="3mm"/>
61 <hbox bgcolor="black">
62 <hspace width="18cm"/>
63 <vbox><vspace height="2px"/></vbox>
67 <vspace height="2mm"/>
69 <button bgcolor="&bg.button;" label="Previous" action="list-prev"/>
70 <button bgcolor="&bg.button;" label="Next" action="list-next"/>
71 <hspace width="0pt" fill="yes"/>
72 <button bgcolor="&bg.button;" label="Home" goto="start-page"/>
77 <!ENTITY help.footline
80 <hbox bgcolor="black">
81 <hspace width="18cm"/>
82 <vbox><vspace height="2px"/></vbox>
86 <vspace height="2mm"/>
88 <button bgcolor="&bg.button;" label="Back" action="hist-prev"/>
89 <hspace width="0pt" fill="yes"/>
93 <!ENTITY info.footline '&help.footline;'>
97 <!-- ***************************************************************** -->
98 <!-- ************************ ************************** -->
99 <!-- ************************ Starting page ************************** -->
100 <!-- ************************ ************************** -->
101 <!-- ***************************************************************** -->
103 <application start="start-page"
107 <mask name="start-page">
108 <vspace height="5mm"/>
110 <hspace width="5mm"/>
112 <vbox font="&h1.font;">
113 <label>A sample xmlforms application:</label>
114 <label>Address editor</label>
116 <vspace height="1cm"/>
119 <hbox width="6cm" halign="right">
122 <entry font="&in.font;" textwidth="40" slot="person.name"/>
125 <hbox width="6cm" halign="right">
126 <label>Postal address:</label>
128 <textbox font="&in.font;"
131 slot="person.address"/>
134 <hbox width="6cm" halign="right">
135 <label>Email:</label>
137 <entry font="&in.font;" textwidth="40" slot="person.email"/>
140 <hbox width="6cm" halign="right">
141 <label>Telephone number:</label>
143 <entry font="&in.font;" textwidth="20" slot="person.phone-number"/>
146 <vspace height="1cm"/>
148 <hspace width="3cm"/>
151 <button bgcolor="&bg.button;"
152 label="More about this person..."
154 <button bgcolor="&bg.button;"
161 <button bgcolor="&bg.button;"
164 <button bgcolor="&bg.button;"
165 label="Exit (without saving)"
170 <vspace height="0px" fill="yes"/>
172 <hspace width="0px" fill="yes"/>
178 <!-- ***************************************************************** -->
179 <!-- ********************** **************************** -->
180 <!-- ********************** More about... **************************** -->
181 <!-- ********************** **************************** -->
182 <!-- ***************************************************************** -->
184 <sequence name="person-list">
185 <mask name="Department">
186 <!-- ************************** HEADER ************************** -->
187 <vspace height="5mm"/>
189 <hspace width="5mm"/>
192 <!-- ************************** CONTENT ************************* -->
193 <label font="&h1.font;">Department</label>
194 <vspace height="3mm"/>
195 <label>The person is working in this department:</label>
197 <hspace width="1cm"/>
198 <entry font="&in.font;"
200 slot="person.department"/>
202 <vspace height="3mm"/>
203 <label>The project he/she is working for:</label>
205 <hspace width="1cm"/>
206 <textbox font="&in.font;"
209 slot="person.project"/>
211 <vspace height="3mm"/>
212 <button bgcolor="&bg.button;"
214 goto="help.department"/>
215 <!-- ************************************************************ -->
218 <!-- ************************** FOOTER ************************** -->
219 <vspace height="0px" fill="yes"/>
221 <hspace width="5mm"/>
227 <mask name="business-contacts">
228 <!-- ************************** HEADER ************************** -->
229 <vspace height="5mm"/>
231 <hspace width="5mm"/>
234 <!-- ************************** CONTENT ************************* -->
235 <label font="&h1.font;">Business Contacts</label>
236 <vspace height="3mm"/>
237 <label>Notes about contacts:</label>
239 <hspace width="1cm"/>
240 <textbox font="&in.font;"
243 slot="person.contacts"/>
245 <vspace height="3mm"/>
246 <button bgcolor="&bg.button;"
248 goto="help.business-contacts"/>
249 <!-- ************************************************************ -->
252 <!-- ************************** FOOTER ************************** -->
253 <vspace height="0px" fill="yes"/>
255 <hspace width="5mm"/>
262 <!-- ***************************************************************** -->
263 <!-- ***************************** ***************************** -->
264 <!-- ***************************** Help ***************************** -->
265 <!-- ***************************** ***************************** -->
266 <!-- ***************************************************************** -->
268 <mask name="help.department">
269 <!-- ************************** HEADER ************************** -->
270 <vspace height="5mm"/>
272 <hspace width="5mm"/>
275 <!-- ************************** CONTENT ************************* -->
276 <label font="&h1.font;">Department</label>
277 <vspace height="3mm"/>
278 <textbox fgcolor="&fg.hilfe;"
282 >The help system should be designed to help you filling out your form, but
283 writing help texts is so stupid...
285 <!-- ************************************************************ -->
288 <!-- ************************** FOOTER ************************** -->
289 <vspace height="0px" fill="yes"/>
291 <hspace width="5mm"/>
296 <mask name="help.business-contacts">
297 <!-- ************************** HEADER ************************** -->
298 <vspace height="5mm"/>
300 <hspace width="5mm"/>
303 <!-- ************************** CONTENT ************************* -->
304 <label font="&h1.font;">Business Contacts</label>
305 <vspace height="3mm"/>
306 <textbox fgcolor="&fg.hilfe;"
310 >It is often helpful to remember the last telephone and/or email contacts
313 <!-- ************************************************************ -->
316 <!-- ************************** FOOTER ************************** -->
317 <vspace height="0px" fill="yes"/>
319 <hspace width="5mm"/>
324 <!-- ***************************************************************** -->
325 <!-- ***************************************************************** -->
326 <!-- ****************************** Info ***************************** -->
327 <!-- ***************************************************************** -->
328 <!-- ***************************************************************** -->
331 <!-- ************************** HEADER ************************** -->
332 <vspace height="5mm"/>
334 <hspace width="5mm"/>
337 <!-- ************************** CONTENT ************************* -->
338 <vspace height="3mm"/>
339 <textbox fgcolor="&fg.hilfe;"
343 ><![CDATA[About "xmlforms":
345 written by Gerd Stolpmann
347 Contact: Gerd.Stolpmann@darmstadt.netsurf.de
349 <!-- ************************************************************ -->
352 <!-- ************************** FOOTER ************************** -->
353 <vspace height="0px" fill="yes"/>
355 <hspace width="5mm"/>