On Mon, 2004-12-20 at 19:02, Tomaz Solc wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> | I'm trying to use the forcesametime module to get two lessons to be
> | scheduled at the same time. I must be invoking it wrong because my
> | request simply seems to be ignored. AFAICS, none of the documentation
> | or samples includes an actual example of its use, and I may well be
> | interpreting the instructions wrong.
>
> "same-time-as" restriction is a class restriction. It should be placed
> under the <class> tag, not under the <subject> tag (that would be a
> tuple restriction).
Thank you. :-) Isn't it always the way? I'd just flicked back to my
e-mail client to say I'd found the solution and there it is waiting for
me. Thanks anyway.
>
> Like this:
>
> <timetable>
> <class year="9" name="ENG2"/>
> ~ <subject title="English" teacher="LRF" perweek="3"/>
> <restriction type="same-time-as">9 ENG1</restriction>
> </timetable>
>
> By the way: working examples for all modules can be found under
> ttf/tests/ directory. XML files there are valid Tablix configuration
> files, just ignore the scheme code at the top.
Ah! Most useful. I shall look there first next time.
Cheers,
John
Received on Mon Dec 20 20:29:09 2004
This archive was generated by hypermail 2.1.8 : Tue Aug 16 2005 - 20:42:40 CEST