User Tools

Site Tools


stats:schema:student

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stats:schema:student [2011/11/03 12:28]
Patrick Michel
stats:schema:student [2013/07/10 12:47] (current)
Line 6: Line 6:
  
 <code xcend> <code xcend>
-      element students {             +    ​element student * id {      [ count (./id, /​account/​student/​id) = 1 
-        ​element student * id {      [ exists ​//accounts/​account/​student[./id+      attribute group ?         { ident [ exists ..exercise/​group[.] ]} 
-          attribute group ?         { ident [ exists ..exercise/groups/group[.] ]} +      attribute team ?          { ident [ exists ../group ]} 
-          attribute team ?          { ident [ exists ../group ]} +      element result * sheet {  [ exists ..exercise/​sheet[./​sheet] ] 
-          element result * sheet {  [ exists ..exercise/sheets/​sheet[./​sheet] ] +        attribute points ​       { double [ . >= 0 && . <= ..exercise/​sheet[../​sheet]/​maxPoints ]} 
-            attribute points ​       { double [ . >= 0 && . <= ..exercise/sheets/​sheet[../​sheet]/​maxPoints ]} +      }                          
-          }                          +    }                           
-        }                            +
-      }                          ​+
 </​code>​ </​code>​
  
stats/schema/student.1320319732.txt.gz · Last modified: 2011/11/03 12:28 by Patrick Michel