28
|
1 |
<?xml version="1.0" standalone="yes" ?>
|
|
2 |
<creatorscript schemaVersion="1.0" scriptVersion="1.0"
|
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4 |
xsi:noNamespaceSchemaLocation="creator.xsd">
|
|
5 |
|
|
6 |
<!-- Contact set with existing contacts -->
|
|
7 |
<contact-set id="1" numberofexistingcontacts="10">
|
|
8 |
</contact-set>
|
|
9 |
|
|
10 |
<!-- Create an appointment with 5 attendees. Two of the attendees are selected from the contacts -->
|
|
11 |
<!-- and two of the attendees are randomly generated. One contact explicitly given. -->
|
|
12 |
<calendar type="appointment">
|
|
13 |
<fields>
|
|
14 |
<summary>Project meeting</summary>
|
|
15 |
<description>Let's have a bi-weekly project meeting. Welcome everyone!</description>
|
|
16 |
<location>Meeting room 1</location>
|
|
17 |
<starttime>2008-03-27T13:02:57</starttime>
|
|
18 |
<endtime>2008-03-27T16:15:00</endtime>
|
|
19 |
<recurrentfrequency>weekly</recurrentfrequency>
|
|
20 |
<recurrentinterval>2</recurrentinterval>
|
|
21 |
<recurrentfrom>2008-03-27</recurrentfrom>
|
|
22 |
<recurrentto>2009-03-27</recurrentto>
|
|
23 |
<attendees>
|
|
24 |
<!-- Two existing contacts -->
|
|
25 |
<contact-set-reference id="1" maxamount="2"/>
|
|
26 |
<attendee>
|
|
27 |
<commonname>John Doe</commonname>
|
|
28 |
<email>john.doe@example.net</email>
|
|
29 |
</attendee>
|
|
30 |
<attendee>
|
|
31 |
<commonname/>
|
|
32 |
<email/>
|
|
33 |
</attendee>
|
|
34 |
<attendee>
|
|
35 |
<commonname/>
|
|
36 |
<email/>
|
|
37 |
</attendee>
|
|
38 |
</attendees>
|
|
39 |
</fields>
|
|
40 |
</calendar>
|
|
41 |
|
|
42 |
<!-- Contact set with 5 contacts having first name "Jane" -->
|
|
43 |
<contact-set id="2">
|
|
44 |
<contact amount="5">
|
|
45 |
<fields>
|
|
46 |
<firstname>Jane</firstname>
|
|
47 |
<lastname/>
|
|
48 |
<emailwork/>
|
|
49 |
<mobilephonework/>
|
|
50 |
</fields>
|
|
51 |
</contact>
|
|
52 |
</contact-set>
|
|
53 |
|
|
54 |
<!-- Create an appointment having "Jane" as an attendee (random location) -->
|
|
55 |
<calendar type="appointment">
|
|
56 |
<fields>
|
|
57 |
<summary>Appointment with Jane</summary>
|
|
58 |
<starttime>2008-02-29T14:00:00</starttime>
|
|
59 |
<endtime>2008-02-29T15:00:00</endtime>
|
|
60 |
<location/>
|
|
61 |
<attendees>
|
|
62 |
<contact-set-reference id="2" maxamount="1"/>
|
|
63 |
</attendees>
|
|
64 |
</fields>
|
|
65 |
</calendar>
|
|
66 |
|
|
67 |
<!-- Create an event -->
|
|
68 |
<calendar type="event">
|
|
69 |
<fields>
|
|
70 |
<summary>Tech Days</summary>
|
|
71 |
<description>Annual tech days, let's have fun!</description>
|
|
72 |
<starttime>2008-05-01</starttime>
|
|
73 |
<endtime>2008-05-03</endtime>
|
|
74 |
</fields>
|
|
75 |
</calendar>
|
|
76 |
|
|
77 |
<!-- Create a reminder -->
|
|
78 |
<calendar type="reminder">
|
|
79 |
<fields>
|
|
80 |
<summary>Remember to buy Lotto!</summary>
|
|
81 |
<starttime>2008-02-28T18:00:00</starttime>
|
|
82 |
<endtime>2008-02-28T18:00:00</endtime>
|
|
83 |
</fields>
|
|
84 |
</calendar>
|
|
85 |
|
|
86 |
<!-- Create 10 random anniversaries -->
|
|
87 |
<calendar type="anniversary" amount="10">
|
|
88 |
<fields>
|
|
89 |
<summary/>
|
|
90 |
<starttime/>
|
|
91 |
</fields>
|
|
92 |
</calendar>
|
|
93 |
|
|
94 |
<!-- Create a to-do entry -->
|
|
95 |
<calendar type="todo">
|
|
96 |
<fields>
|
|
97 |
<summary>Should do something...?</summary>
|
|
98 |
<starttime>2008-02-29T10:00:00</starttime>
|
|
99 |
<endtime>2008-02-29T12:00:00</endtime>
|
|
100 |
</fields>
|
|
101 |
</calendar>
|
|
102 |
|
|
103 |
</creatorscript>
|