This shows you the differences between two versions of the page.
stats:proc:changeattributes_exercise [2011/09/27 20:58] Patrick Michel created |
stats:proc:changeattributes_exercise [2013/07/10 12:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Change Attributes (Exercise) ====== | ||
- | |||
- | <code xcend> | ||
- | changeAttributes(ident id, string lecture, string term) { | ||
- | assume exists //exercise/exercise[id]; # implicitly true in OO implementations | ||
- | |||
- | update //exercise/exercise[id]/lecture lecture; | ||
- | update //exercise/exercise[id]/term term; | ||
- | } | ||
- | </code> | ||