Changes to the Midweek Editor from January 2018

January 2018 Workbook

January 2018 Workbook (click to enlarge)
The January 2018 workbook, available from the www.jw.org website has a few changes to the structure of the student assignments.

Changes need to be made to Meeting Schedule Assistant.

Student Assignment Types

Sample Drop List
We have added several new student items to the droplist. This includes three additional Video assignments.

These are not actually student assignments. Rather, they are Sample Conversation Videos which the Chairman (or possibly the Auxiliary Classroom Counsellor) discusses with the audience.

If you are using F6 to download the schedule data then you will have the right types of assignments specified by the volunteers.
Students (Click to enlarge)
I have changed the window to display a drop list for the assignment that is a sample video.

Now you can specify if the Chairman discusses the video with everyone or if the Auxiliary Classroom Counsellor will oversee the item in his classroom with a suitable mobile device.

The S-140 schedule scripts have been modified to display this new information. However, I still have to review the older Workbook scripts.

Duration / Sample Conversation Videos

Student Material (click to enlarge)
You will see that the times for each student item no longer follow a fixed pattern of 2, 4 and 6 minutes. It can vary from 2 to 6 minutes. As a result, we have introduced new time options on the Student Material window.

As previously mentioned, there are three types of sample conversation videos each month. These are discussed by the Chairman (or maybe the Auxiliary Classroom Counsellor).

S-89 Assignment Slip

S-89 (click to enlarge)
The S-89 has been revised to include the new student items.

A few languages have been implemented but I am still waiting for other languages to become available.

S-140 Workbook Script Adjustments

Who discusses sample videos (Click to enlarge)

If you look closely at the official workbook for January you will see that all sample conversation videos are for a fixed amount of time. They do not follow the rule xx min. or less. In addition, we have to indicate who is discussing the sample video with the audience (Chairman or Auxiliary Classroom Counsellor). In addition, we don’t need to display the Student/Assistant labels when we are discussing a sample conversation video. For this, changes are required in your script.

All these changes have been implemented on all default S-140 schedules and the good news is that no changes are required on your part. That is, unless you are using a customized S-140 script. In this situation you will need to replicate the new changes to your scripts:

The first change is to exclude the Student / Assistant labels:

318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<xsl:template match="StudentItem">
  <tr>
    <xsl:apply-templates select="Time" mode="End"/>
    <td class="cellTheme">
      <span class="bulletAYFM">&#8226;</span>
      <span class="textTheme">
        <xsl:value-of select="Type"/>
      </span>
      <xsl:apply-templates select="Time" mode="Duration"/>
      <xsl:apply-templates select="Material"/>
    </td>
    <td class="cellPosition">
      <xsl:choose>
        <xsl:when test="@IsSampleVideo=1">
          <!--We need an empty cell-->
          <xsl:text> </xsl:text>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="//Labels/Student"/>
          <xsl:if test="@IsTalk=0">
            <br/>
            <xsl:value-of select="//Labels/Assistant"/>
          </xsl:if>
        </xsl:otherwise>
      </xsl:choose>
    </td>
    <xsl:apply-templates select="Students"/>
  </tr>
</xsl:template>

The second change is to display who is discussing the video with the audience:

355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<xsl:template match="Students">
<td class="cellName">
  <xsl:choose>
    <xsl:when test="../@IsSampleVideo=1">
      <xsl:choose>
        <xsl:when test="@ChairmanHandleSampleVideo=0">
          <xsl:value-of select="//Labels/Counsellor"/>
        </xsl:when>
        <xsl:otherwise>
          <!--Trims the " :" from the end of the chairman label-->
          <xsl:value-of select="normalize-space(translate(//Labels/Chairman,':',''))"/>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:when>
    <xsl:otherwise>
      <xsl:choose>
        <xsl:when test="Student/@Duplicate=1">
          <span class="textDuplicate">
            <xsl:value-of select="Student"/>
          </span>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="Student"/>
        </xsl:otherwise>
      </xsl:choose>
      <xsl:if test="../@IsTalk=0">
        <br/>
        <xsl:choose>
          <xsl:when test="Assistant/@Duplicate=1">
            <span class="textDuplicate">
              <xsl:value-of select="Assistant"/>
            </span>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="Assistant"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:if>
    </xsl:otherwise>
  </xsl:choose>
</td>
</xsl:template>

Old style Workbook Script Adjustments

Please understand that it is not my intention to maintain support for the older workbook style scripts. I developed the original scripts whilst learning about the concept of XSL transformations. As a result, the script I ended up with was very complex. It got the job done, but in a very complicated manner. Thus, when I had to create the S-140 workbook scripts I rewrote it from scratch. I used the new concepts that I had now grasped and produced a much more efficient script that was easier to maintain.

Therefore, it is not my intention to continue support the original style scripts. For the time being they will remain available, and for the benefit of existing users I have updated the scripts. No further changes are required on your part if you are using the installed scripts. But if you have made customizations then you need to update with the following code:

307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
<!--Apply Yourself To The Field Ministry-->
<xsl:template name = "Display_AYTFM" >
<xsl:param name = "strThemeClass" />
<xsl:param name = "strColSpanAYTFMClass" />
<xsl:param name = "iColSpanAYTFMCell" />
<div class="containerAYFM">
  <table cellpadding="2" cellspacing="0"  class="tableOuter">
    <tr>
      <td class="{$strColSpanAYTFMClass}" colspan="{$iColSpanAYTFMCell}">
        <div class="textAYFM">
          <xsl:value-of select="//Labels/ApplyYourselfToTheFieldMinistry"/>
        </div>
      </td>

      <!--Class headings-->
      <!--TODO: Rename these classes-->
      <xsl:if test="FirstWeekOfMonth=0">
        <xsl:if test="NumberClasses&gt;=2">
          <td class="cellAYFMMainHall" >
            <xsl:value-of select="//Labels/MainHall"/>
          </td>
          <td class="cellAYFMAuxClass1" >
            <xsl:value-of select="//Labels/AuxClass1"/>
          </td>
          <xsl:if test="NumberClasses=3">
            <td class="cellAYFMAuxClass2" >
              <xsl:value-of select="//Labels/AuxClass2"/>
            </td>
          </xsl:if>
        </xsl:if>
      </xsl:if>
    </tr>

    <!--Presentations-->
    <xsl:if test="FirstWeekOfMonth=1">
      <tr>
        <td class="borderDotTime">
          <xsl:value-of select="Presentations/Time"/>
        </td>
        <td class="borderDotTheme">
          <xsl:value-of select="Presentations/Theme" disable-output-escaping="yes"/>
          <br />
          <span class="textMethod">
            [<xsl:value-of select="Presentations/Method" disable-output-escaping="yes"/>]
          </span>
        </td>
        <td class="borderDotName">
          <xsl:value-of select="Presentations/Name"/>&#160;
        </td>
      </tr>
    </xsl:if>

    <!--Student talks-->
    <xsl:if test="FirstWeekOfMonth=0">
      <!--First student talk-->
      <tr>
        <td class="borderDotTime">
          <xsl:value-of select="StudentTalk1Time"/>
        </td>
        <td class="{$strThemeClass}">
          <xsl:value-of select="StudentSourceMaterial/StudentTalk1Type"/>
          <br />
          <span class="textMaterial">
            [<xsl:value-of select="StudentSourceMaterial/StudentTalk1Material" disable-output-escaping="yes"/>]
          </span>
        </td>
        <td class="borderDotName">
          <xsl:choose>
            <xsl:when test="StudentSourceMaterial/StudentTalk1Type/@IsSampleVideo=1">
              <xsl:choose>
                <xsl:when test="StudentTalk1M/@ChairmanHandleSampleVideo=0">
                  <xsl:value-of select="//Labels/Counsellor"/>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="//Labels/Chairman"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="StudentTalk1M"/>
              <br />
              <xsl:value-of select="StudentTalk1MA"/>
            </xsl:otherwise>
          </xsl:choose>
        </td>
        <xsl:if test="NumberClasses&gt;=2">
          <td class="borderDotName">
            <xsl:choose>
              <xsl:when test="StudentSourceMaterial/StudentTalk1Type/@IsSampleVideo=1">
                <xsl:choose>
                  <xsl:when test="StudentTalk11/@ChairmanHandleSampleVideo=0">
                    <xsl:value-of select="//Labels/Counsellor"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:value-of select="//Labels/Chairman"/>
                  </xsl:otherwise>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:value-of select="StudentTalk11"/>
                <br />
                <xsl:value-of select="StudentTalk11A"/>
              </xsl:otherwise>
            </xsl:choose>
          </td>
          <xsl:if test="NumberClasses=3">
            <td class="borderDotName">
              <xsl:choose>
                <xsl:when test="StudentSourceMaterial/StudentTalk1Type/@IsSampleVideo=1">
                  <xsl:choose>
                    <xsl:when test="StudentTalk12/@ChairmanHandleSampleVideo=0">
                      <xsl:value-of select="//Labels/Counsellor"/>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="//Labels/Chairman"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="StudentTalk12"/>
                  <br />
                  <xsl:value-of select="StudentTalk12A"/>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </xsl:if>
        </xsl:if>
      </tr>

      <!--Second student talk-->
      <tr>
        <td class="borderDotTime">
          <xsl:value-of select="StudentTalk2Time"/>
        </td>
        <td class="{$strThemeClass}">
          <xsl:value-of select="StudentSourceMaterial/StudentTalk2Type"/>
          <br />
          <span class="textMaterial">
            [<xsl:value-of select="StudentSourceMaterial/StudentTalk2Material" disable-output-escaping="yes"/>]
          </span>
        </td>
        <td class="borderDotName">
          <xsl:choose>
            <xsl:when test="StudentSourceMaterial/StudentTalk2Type/@IsSampleVideo=1">
              <xsl:choose>
                <xsl:when test="StudentTalk2M/@ChairmanHandleSampleVideo=0">
                  <xsl:value-of select="//Labels/Counsellor"/>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="//Labels/Chairman"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="StudentTalk2M"/>
              <br />
              <xsl:value-of select="StudentTalk2MA"/>
            </xsl:otherwise>
          </xsl:choose>
        </td>
        <xsl:if test="NumberClasses&gt;=2">
          <td class="borderDotName">
            <xsl:choose>
              <xsl:when test="StudentSourceMaterial/StudentTalk2Type/@IsSampleVideo=1">
                <xsl:choose>
                  <xsl:when test="StudentTalk21/@ChairmanHandleSampleVideo=0">
                    <xsl:value-of select="//Labels/Counsellor"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:value-of select="//Labels/Chairman"/>
                  </xsl:otherwise>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:value-of select="StudentTalk21"/>
                <br />
                <xsl:value-of select="StudentTalk21A"/>
              </xsl:otherwise>
            </xsl:choose>
          </td>
          <xsl:if test="NumberClasses=3">
            <td class="borderDotName">
              <xsl:choose>
                <xsl:when test="StudentSourceMaterial/StudentTalk2Type/@IsSampleVideo=1">
                  <xsl:choose>
                    <xsl:when test="StudentTalk22/@ChairmanHandleSampleVideo=0">
                      <xsl:value-of select="//Labels/Counsellor"/>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="//Labels/Chairman"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="StudentTalk22"/>
                  <br />
                  <xsl:value-of select="StudentTalk22A"/>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </xsl:if>
        </xsl:if>
      </tr>

      <!--Third student talk-->
      <tr>
        <td class="borderDotTime">
          <xsl:value-of select="StudentTalk3Time"/>
        </td>
        <td class="{$strThemeClass}">
          <xsl:value-of select="StudentSourceMaterial/StudentTalk3Type"/>
          <br />
          <span class="textMaterial">
            [<xsl:value-of select="StudentSourceMaterial/StudentTalk3Material" disable-output-escaping="yes"/>]
          </span>
        </td>
        <td class="borderDotName">
          <xsl:choose>
            <xsl:when test="StudentSourceMaterial/StudentTalk3Type/@IsSampleVideo=1">
              <xsl:choose>
                <xsl:when test="StudentTalk3M/@ChairmanHandleSampleVideo=0">
                  <xsl:value-of select="//Labels/Counsellor"/>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="//Labels/Chairman"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="StudentTalk3M"/>
              <xsl:if test="StudentSourceMaterial/StudentTalk3Type/@IsTalk=0">
                <br />
                <xsl:value-of select="StudentTalk3MA"/>
              </xsl:if>
            </xsl:otherwise>
          </xsl:choose>
        </td>
        <xsl:if test="NumberClasses&gt;=2">
          <td class="borderDotName">
            <xsl:choose>
              <xsl:when test="StudentSourceMaterial/StudentTalk3Type/@IsSampleVideo=1">
                <xsl:choose>
                  <xsl:when test="StudentTalk31/@ChairmanHandleSampleVideo=0">
                    <xsl:value-of select="//Labels/Counsellor"/>
                  </xsl:when>
                  <xsl:otherwise>
                    <xsl:value-of select="//Labels/Chairman"/>
                  </xsl:otherwise>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:value-of select="StudentTalk31"/>
                <xsl:if test="StudentSourceMaterial/StudentTalk3Type/@IsTalk=0">
                  <br />
                  <xsl:value-of select="StudentTalk31A"/>
                </xsl:if>
              </xsl:otherwise>
            </xsl:choose>
          </td>
          <xsl:if test="NumberClasses=3">
            <td class="borderDotName">
              <xsl:choose>
                <xsl:when test="StudentSourceMaterial/StudentTalk3Type/@IsSampleVideo=1">
                  <xsl:choose>
                    <xsl:when test="StudentTalk32/@ChairmanHandleSampleVideo=0">
                      <xsl:value-of select="//Labels/Counsellor"/>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="//Labels/Chairman"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="StudentTalk32"/>
                  <xsl:if test="StudentSourceMaterial/StudentTalk3Type/@IsTalk=0">
                    <br />
                    <xsl:value-of select="StudentTalk32A"/>
                  </xsl:if>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </xsl:if>
        </xsl:if>
      </tr>
    </xsl:if>
  </table>
</div>
</xsl:template>

Worksheet Script Adjustments

Sadly, from my perspective, the worksheet scripts provided with the program are based on the legacy workbook scripts. As a result they too are somewhat over-complicated to maintain. I have made the required changes to all default worksheet scripts. If you have customized the script then you need to replicate these code changes:

297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
<!--Apply Yourself To The Field Ministry-->
<xsl:template name = "Display_AYTFM" >
<xsl:param name = "Class" />
<div class="containerAYFM">
  <table cellpadding="2" cellspacing="0"  class="tableOuter">
    <tr>
      <td class="textAYFM" colspan="4">
        <xsl:value-of select="//Labels/ApplyYourselfToTheFieldMinistry"/>
      </td>
    </tr>

    <xsl:choose>
      <!--Presentations-->
      <xsl:when test="FirstWeekOfMonth=1">
        <tr>
          <td class="borderDotTimeDuration">
            [<xsl:value-of select="Presentations/Time/@EndTime24"/>]
          </td>
          <td class="borderDotTime">
            <xsl:value-of select="Presentations/Time"/>
          </td>
          <td class="borderDotTheme">
            <xsl:value-of select="Presentations/Theme" disable-output-escaping="yes"/>
            <br />
            <span class="textMethod">
              [<xsl:value-of select="Presentations/Method" disable-output-escaping="yes"/>]
            </span>
          </td>
          <td class="borderDotName">
            <xsl:value-of select="Presentations/Name"/>&#160;
          </td>
        </tr>
      </xsl:when>
      <!--Student talks-->
      <xsl:otherwise>
        <tr>
          <td class="borderDotTimeDuration">
            [<xsl:value-of select="StudentTalk1Time/@EndTime24"/>]
          </td>
          <td class="borderDotTime">
            <xsl:value-of select="StudentTalk1Time"/>
          </td>
          <td class="borderDotTheme">
            <xsl:value-of select="StudentSourceMaterial/StudentTalk1Type"/>
            <br />
            [<xsl:value-of select="StudentSourceMaterial/StudentTalk1Material" disable-output-escaping="yes"/>]
            <xsl:if test="StudentSourceMaterial/StudentTalk1Type/@IsSampleVideo != 1">
              <br />
              <xsl:value-of select="//Labels/CounselPoint"/>&#160;
              <xsl:choose>
                <xsl:when test="$Class='M'">
                  <xsl:value-of select="StudentTalk1M/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk1M/@StudyPointDescription"/>
                </xsl:when>
                <xsl:when test="$Class='1'">
                  <xsl:value-of select="StudentTalk11/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk11/@StudyPointDescription"/>
                </xsl:when>
                <xsl:when test="$Class='2'">
                  <xsl:value-of select="StudentTalk12/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk12/@StudyPointDescription"/>
                </xsl:when>
              </xsl:choose>
              <br />
            </xsl:if>
          </td>
          <td class="borderDotName">
            <xsl:choose>
              <xsl:when test="StudentSourceMaterial/StudentTalk1Type/@IsSampleVideo = 1">
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk1M/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk11/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk12/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:value-of select="StudentTalk1M"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:value-of select="StudentTalk11"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:value-of select="StudentTalk12"/>&#160;
                  </xsl:when>
                </xsl:choose>
                <br />
                <br />
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:value-of select="StudentTalk1MA"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:value-of select="StudentTalk11A"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:value-of select="StudentTalk12A"/>&#160;
                  </xsl:when>
                </xsl:choose>
              </xsl:otherwise>
            </xsl:choose>
          </td>
        </tr>
        <tr>
          <td class="cellComments" colspan="4">
            <br />
            <br />
            <br />
          </td>
        </tr>
        <tr>
          <td class="borderDotTimeDuration">
            [<xsl:value-of select="StudentTalk2Time/@EndTime24"/>]
          </td>
          <td class="borderDotTime">
            <xsl:value-of select="StudentTalk2Time"/>
          </td>
          <td class="borderDotTheme">
            <xsl:value-of select="StudentSourceMaterial/StudentTalk2Type"/><br />
            [<xsl:value-of select="StudentSourceMaterial/StudentTalk2Material" disable-output-escaping="yes"/>]
            <xsl:if test="StudentSourceMaterial/StudentTalk2Type/@IsSampleVideo != 1">
              <br />
              <xsl:value-of select="//Labels/CounselPoint"/>&#160;
              <xsl:choose>
                <xsl:when test="$Class='M'">
                  <xsl:value-of select="StudentTalk2M/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk2M/@StudyPointDescription"/>
                </xsl:when>
                <xsl:when test="$Class='1'">
                  <xsl:value-of select="StudentTalk21/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk21/@StudyPointDescription"/>
                </xsl:when>
                <xsl:when test="$Class='2'">
                  <xsl:value-of select="StudentTalk22/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk22/@StudyPointDescription"/>
                </xsl:when>
              </xsl:choose>
              <br />
            </xsl:if>
            <br />
          </td>
          <td class="borderDotName">
            <xsl:choose>
              <xsl:when test="StudentSourceMaterial/StudentTalk2Type/@IsSampleVideo = 1">
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk2M/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk21/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk22/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:value-of select="StudentTalk2M"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:value-of select="StudentTalk21"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:value-of select="StudentTalk22"/>&#160;
                  </xsl:when>
                </xsl:choose>
                <br />
                <br />
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:value-of select="StudentTalk2MA"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:value-of select="StudentTalk21A"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:value-of select="StudentTalk22A"/>&#160;
                  </xsl:when>
                </xsl:choose>
              </xsl:otherwise>
            </xsl:choose>
          </td>
        </tr>
        <tr>
          <td class="cellComments" colspan="4">
            <br />
            <br />
            <br />
          </td>
        </tr>
        <tr>
          <td class="borderDotTimeDuration">
            [<xsl:value-of select="StudentTalk3Time/@EndTime24"/>]
          </td>
          <td class="borderDotTime">
            <xsl:value-of select="StudentTalk3Time"/>
          </td>
          <td class="borderDotTheme">
            <xsl:value-of select="StudentSourceMaterial/StudentTalk3Type"/><br />
            [<xsl:value-of select="StudentSourceMaterial/StudentTalk3Material" disable-output-escaping="yes"/>]
            <xsl:if test="StudentSourceMaterial/StudentTalk3Type/@IsSampleVideo != 1">
              <br/>
              <xsl:value-of select="//Labels/CounselPoint"/>&#160;
              <xsl:choose>
                <xsl:when test="$Class='M'">
                  <xsl:value-of select="StudentTalk3M/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk3M/@StudyPointDescription"/>
                </xsl:when>
                <xsl:when test="$Class='1'">
                  <xsl:value-of select="StudentTalk31/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk31/@StudyPointDescription"/>
                </xsl:when>
                <xsl:when test="$Class='2'">
                  <xsl:value-of select="StudentTalk32/@StudyPoint"/>&#160;
                  <xsl:value-of select="StudentTalk32/@StudyPointDescription"/>
                </xsl:when>
              </xsl:choose>
              <br />
            </xsl:if>
          </td>
          <td class="borderDotName">
            <xsl:choose>
              <xsl:when test="StudentSourceMaterial/StudentTalk3Type/@IsSampleVideo = 1">
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk3M/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk31/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:choose>
                      <xsl:when test="StudentTalk32/@ChairmanHandleSampleVideo=0">
                        <xsl:value-of select="//Labels/Counsellor"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="//Labels/Chairman"/>
                      </xsl:otherwise>
                    </xsl:choose>
                  </xsl:when>
                </xsl:choose>
              </xsl:when>
              <xsl:otherwise>
                <xsl:choose>
                  <xsl:when test="$Class='M'">
                    <xsl:value-of select="StudentTalk3M"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='1'">
                    <xsl:value-of select="StudentTalk31"/>&#160;
                  </xsl:when>
                  <xsl:when test="$Class='2'">
                    <xsl:value-of select="StudentTalk32"/>&#160;
                  </xsl:when>
                </xsl:choose>
                <xsl:if test="StudentSourceMaterial/StudentTalk3Type/@IsTalk=0">
                  <br />
                  <br />
                  <xsl:choose>
                    <xsl:when test="$Class='M'">
                      <xsl:value-of select="StudentTalk3MA"/>&#160;
                    </xsl:when>
                    <xsl:when test="$Class='1'">
                      <xsl:value-of select="StudentTalk31A"/>&#160;
                    </xsl:when>
                    <xsl:when test="$Class='2'">
                      <xsl:value-of select="StudentTalk32A"/>&#160;
                    </xsl:when>
                  </xsl:choose>
                </xsl:if>
              </xsl:otherwise>
            </xsl:choose>
          </td>
        </tr>
        <tr>
          <td class="cellComments" colspan="4">
            <br />
            <br />
            <br />
          </td>
        </tr>

      </xsl:otherwise>
    </xsl:choose>
  </table>
</div>
</xsl:template>

Current Development Status

I will try to keep this up to date for you. It indicates which languages that I am still awaiting translations / s-89 template information etc. for.

Progress-2018-v32