This shows you the differences between two versions of the page.
stats:proc:changeattributes_exam [2011/09/27 20:50] Patrick Michel created |
stats:proc:changeattributes_exam [2013/07/10 12:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Change Attributes (Exam) ====== | ||
- | |||
- | <code xcend> | ||
- | changeAttributes(ident id, string title, string date, string time, string location) { | ||
- | assume exists //exams/exam[id]; # implicitly true in OO implementations | ||
- | |||
- | update //exams/exam[id]/title title; | ||
- | update //exams/exam[id]/date date; | ||
- | update //exams/exam[id]/time time; | ||
- | update //exams/exam[id]/location location; | ||
- | } | ||
- | </code> | ||