Sample XML Documents
Normal Week
This is an example of a normal week where you have one or two additional classes for the student assignments:
<BibleReadingM Class="1" Included="1" StudyPoint="5" StudyPointDescription="Accurate Reading" StudyPointReference="(th study 5)">Name</BibleReadingM> <BibleReading1 Class="2" Included="1" StudyPoint="5" StudyPointDescription="Accurate Reading" StudyPointReference="(th study 5)">Name</BibleReading1> <BibleReading2 Class="3" Included="1" StudyPoint="5" StudyPointDescription="Accurate Reading" StudyPointReference="(th study 5)">Name</BibleReading2> <BibleReadingTime StartTime12="7:42" StartTime24="19:42" EndTime12="7:46" EndTime24="19:46">4 min.</BibleReadingTime> <NumberClasses>3</NumberClasses> <Teaching> <Theme>Apply Yourself to Reading and Teaching</Theme> <Name>Chairman</Name> <StudyPointDescription StudyPoint="(th study 1)">Effective Introduction</StudyPointDescription> <Time StartTime12="7:47" StartTime24="19:47" EndTime12="7:57" EndTime24="19:57">10 min.</Time> </Teaching> <StudentTalk1Time StartTime12="7:57" StartTime24="19:57" EndTime12="8:02" EndTime24="20:02">5 min.</StudentTalk1Time> <StudentTalk2Time StartTime12="8:03" StartTime24="20:03" EndTime12="8:08" EndTime24="20:08">5 min.</StudentTalk2Time> <StudentTalk3Time StartTime12="8:09" StartTime24="20:09" EndTime12="8:14" EndTime24="20:14">5 min.</StudentTalk3Time> <StudentTalk4Time StartTime12="8:15" StartTime24="20:15" EndTime12="8:20" EndTime24="20:20">5 min.</StudentTalk4Time> <StudentTalk1M Class="1" Included="1" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk1M> <StudentTalk1MA>Name</StudentTalk1MA> <StudentTalk2M Class="1" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk2M> <StudentTalk2MA>Name</StudentTalk2MA> <StudentTalk3M Class="1" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk3M> <StudentTalk3MA>Name</StudentTalk3MA> <StudentTalk4M Class="1" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk4M> <StudentTalk4MA>Name</StudentTalk4MA> <StudentTalk11 Class="2" Included="1" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)"></StudentTalk11> <StudentTalk11A>Name</StudentTalk11A> <StudentTalk21 Class="2" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk21> <StudentTalk21A>Name</StudentTalk21A> <StudentTalk31 Class="2" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk31> <StudentTalk31A>Name</StudentTalk31A> <StudentTalk41 Class="2" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk41> <StudentTalk41A>Name</StudentTalk41A> <StudentTalk12 Class="3" Included="1" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk12> <StudentTalk12A>Name</StudentTalk12A> <StudentTalk22 Class="3" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk22> <StudentTalk22A>Name</StudentTalk22A> <StudentTalk32 Class="3" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk32> <StudentTalk32A>Name</StudentTalk32A> <StudentTalk42 Class="3" Included="0" StudyPoint="1" StudyPointDescription="Effective Introduction" StudyPointReference="(th study 1)">Name</StudentTalk42> <StudentTalk42A>Name</StudentTalk42A> <StudentSourceMaterial> <BibleReadingMaterial>Ac 21:1-19</BibleReadingMaterial> <StudentTalk1Material>w10 2/1 13 ¶2–14 ¶2—Theme: Are Christians Required ... Sabbath?</StudentTalk1Material> <StudentTalk2Material></StudentTalk2Material> <StudentTalk3Material></StudentTalk3Material> <StudentTalk4Material></StudentTalk4Material> <StudentTalk1Type IsTalk="1" IsSampleVideo="0">Talk</StudentTalk1Type> <StudentTalk2Type IsTalk="0" IsSampleVideo="0">First Return Visit</StudentTalk2Type> <StudentTalk3Type IsTalk="0" IsSampleVideo="0">Bible Study</StudentTalk3Type> <StudentTalk4Type IsTalk="0" IsSampleVideo="0">Initial Call</StudentTalk4Type> </StudentSourceMaterial>
|
Normal Week (S-140 Version)
The S-140 XML data file design is much better. This means that you can make better use of the templates mechanism in XSL transformations. This is an example of a normal week where you have one or two additional classes for the student assignments:
<TFGW NumberClasses="3"> <BibleReadingItem> <Type>Bible Reading</Type> <Material StudyPoint="5" StudyPointReference="(th study 5)">Ac 23:1-15</Material> <Time StartTime12="7:42" StartTime24="19:42" EndTime12="7:46" EndTime24="19:46">4 min. or less</Time> <Readers> <Reader StudyPoint="5" StudyPointDescription="Accurate Reading" Class="2">Name</Reader> <Reader StudyPoint="5" StudyPointDescription="Accurate Reading" Class="3">Name</Reader> <Reader StudyPoint="5" StudyPointDescription="Accurate Reading" Class="1">Name</Reader> </Readers> </BibleReadingItem> </TFGW> <AYFM NumberClasses="3"> <StudentItem IsTalk="0" IsSampleVideo="1"> <Type>Initial Call Video</Type> <Material StudyPoint="1" StudyPointReference="(th study 1)">Play and discuss the video</Material> <Time StartTime12="7:47" StartTime24="19:47" EndTime12="7:51" EndTime24="19:51">4 min.</Time> <Students ChairmanHandleSampleVideo="1" Class="2"/> <Students ChairmanHandleSampleVideo="1" Class="3"/> <Students ChairmanHandleSampleVideo="1" Class="1"/> </StudentItem> <StudentItem IsTalk="0" IsSampleVideo="0"> <Type>Initial Call</Type> <Material StudyPoint="1" StudyPointReference="(th study 1)">Use the sample conversation</Material> <Time StartTime12="7:51" StartTime24="19:51" EndTime12="7:53" EndTime24="19:53">2 min. or less</Time> <Students Class="2"> <Student StudyPoint="1" StudyPointDescription="Effective Introduction">Name</Student> <Assistant>Name</Assistant> </Students> <Students Class="3"> <Student StudyPoint="1" StudyPointDescription="Effective Introduction">Name</Student> <Assistant>Name</Assistant> </Students> <Students Class="1"> <Student StudyPoint="1" StudyPointDescription="Effective Introduction">Name</Student> <Assistant>Name</Assistant> </Students> </StudentItem> <StudentItem IsTalk="0" IsSampleVideo="0"> <Type>Initial Call</Type> <Material StudyPoint="2" StudyPointReference="(th study 2)">Begin with the sample conversation.</Material> <Time StartTime12="7:54" StartTime24="19:54" EndTime12="7:57" EndTime24="19:57">3 min. or less</Time> <Students Class="2"> <Student StudyPoint="2" StudyPointDescription="Conversational Manner">Name</Student> <Assistant>Name</Assistant> </Students> <Students Class="3"> <Student StudyPoint="2" StudyPointDescription="Conversational Manner">Name</Student> <Assistant>Name</Assistant> </Students> <Students Class="1"> <Student StudyPoint="2" StudyPointDescription="Conversational Manner">Name</Student> <Assistant>Name</Assistant> </Students> </StudentItem> </AYFM>
|
Special Events
Example Special Event:
<Meeting> <Note>Memorial</Note> <SpecialEvent> <Event>Memorial</Event> <Location>Address</Location> <Date Day="27" DayShort="Sat" DayFull="Saturday" Month="3" MonthShort="Mar" MonthFull="March" Year="2021" Memorial="1" AllDayEvent="0" StartTime12="7:15" StartTime24="19:15" EndTime12="9:00" EndTime24="21:00" MidweekEvent="0">27/03/2021</Date> </SpecialEvent> </Meeting>
|
Circuit Overseer Visit
This extra information is included during the visit of the Circuit Overseer (a specific type of special event):
<Meeting> <Note>Circuit Visit</Note> <NoMeeting>0</NoMeeting> <SpecialEvent>1</SpecialEvent> <CircuitVisit>1</CircuitVisit> <LivingAsChristians ItemCount="2"> <ItemCircuitOverseer> <Name>Name</Name> <Theme>Talk Title</Theme> <Method>Talk</Method> <Time StartTime12="8:25" StartTime24="20:25" EndTime12="8:55" EndTime24="20:55">30 min.</Time> </ItemCircuitOverseer> </LivingAsChristians> </Meeting>
|
Weekend Meeting
Here is an example of a Weekend Meeting which has one away talk:
<PUBLICTALK> <MeetingDate Day="1" DayShort="Sun" DayFull="Sunday" Month="5" MonthShort="May" MonthFull="May" Year="2022"/> <SongInfo> <SongOpen Title="God’s Wondrous Works" StartTime12="10:00" StartTime24="10:00" EndTime12="10:05" EndTime24="10:05" DurationShort="5 min.">5</SongOpen> <SongMiddle Title="“I Want To”" StartTime12="10:35" StartTime24="10:35" EndTime12="10:40" EndTime24="10:40" DurationShort="5 min.">17</SongMiddle> <SongEnd Title="Christ, Our Model" StartTime12="11:40" StartTime24="11:40" EndTime12="11:45" EndTime24="11:45" DurationShort="5 min.">13</SongEnd> </SongInfo> <HomeTalk> <Theme>Life Does Have A Purpose</Theme> <ThemeNumber>23</ThemeNumber> <Speaker>Name</Speaker> <Congregation>Congregation</Congregation> <SpeakerNotes>Notes</SpeakerNotes> <Time StartTime12="10:05" StartTime24="10:05" EndTime12="10:35" EndTime24="10:35" DurationShort="30 min.">30 min.</Time> </HomeTalk> <AwayTalk> <Speaker>Name</Speaker> <Congregation>Congregation</Congregation> <ThemeNumber>116</ThemeNumber> </AwayTalk> <Assignments> <Chairman>Name</Chairman> <Conductor>Name</Conductor> <Reader>Name</Reader> <Hospitality>Name</Hospitality> <Interpreter>Name</Interpreter> <Misc>Name</Misc> <BibleVersesReader>Name</BibleVersesReader> <VideoConferenceHost>Name</VideoConferenceHost> <VideoConferenceCohost>Name</VideoConferenceCohost> <PrayerOpen>Name</PrayerOpen> <PrayerClose>Name</PrayerClose> <WatchtowerStudy> <Theme>Imitate Jesus by Serving Others</Theme> <Time StartTime12="10:40" StartTime24="10:40" EndTime12="11:40" EndTime24="11:40" DurationShort="60 min.">60 min.</Time> </WatchtowerStudy> </Assignments> </PUBLICTALK>
|
These examples demonstrate how schedule data is stored in the XML file, enabling you to leverage this information within your XSL templates.
Labels
There are several default labels that are included in the XML file for your use:
<MeetingWorkBook> <Labels> <TreasuresFromGodsWord>TREASURES FROM GOD'S WORD</TreasuresFromGodsWord> <ApplyYourselfToTheFieldMinistry>APPLY YOURSELF TO THE FIELD MINISTRY</ApplyYourselfToTheFieldMinistry> <LivingAsChristians>LIVING AS CHRISTIANS</LivingAsChristians> <ReportTitle1>OUR CHRISTIAN LIFE AND MINISTRY</ReportTitle1> <ReportTitle2>(Midweek Meeting March 2016)</ReportTitle2> <ReportTitleChairman>CHAIRMAN'S WORKSHEET</ReportTitleChairman> <ReportTitleAuxCounsellor>AUXILIARY COUNSELLOR'S WORKSHEET </ReportTitleAuxCounsellor> <ReportTitleWorksheets>Chairman and Auxiliary Counsellor Worksheets</ReportTitleWorksheets> <Song>Song</Song> <Prayer>Prayer:</Prayer> <Chairman>Chairman</Chairman> <MainHall>Main Hall</MainHall> <AuxClass1>Aux Class 1</AuxClass1> <AuxClass2>Aux Class 2</AuxClass2> <BibleReading>Bible Reading</BibleReading> <CongregationBibleStudy>Congregation Bible Study</CongregationBibleStudy> <CBSReader>Reader</CBSReader> <Note>Note</Note> <CounselPoint>Counsel point:</CounselPoint> <SongDuration>5 min.</SongDuration> <Start>Start</Start> <Finish>Finish</Finish> <PTS_WeekendMeeting>Weekend Meeting</PTS_WeekendMeeting> <PTS_Talk>Public Talk</PTS_Talk> <PTS_Theme>Theme</PTS_Theme> <PTS_Speaker>Speaker</PTS_Speaker> <PTS_Congregation>Congregation</PTS_Congregation> <PTS_Chairman>Chairman</PTS_Chairman> <PTS_WTConductor>Conductor</PTS_WTConductor> <PTS_WTReader>Reader</PTS_WTReader> <PTS_WTStudy>Watchtower Study</PTS_WTStudy> <PTS_Hospitality>Hospitality</PTS_Hospitality> <PTS_AwaySpeaker>Outgoing Speaker</PTS_AwaySpeaker> </Labels> </MeetingWorkBook>
|