Add projects DTD
This commit is contained in:
parent
aaa5797313
commit
cd29f491cc
18
htdocs/exos.dtd
Normal file
18
htdocs/exos.dtd
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<!ELEMENT theme (title,exercice+)>
|
||||||
|
|
||||||
|
<!ELEMENT title (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT exercice (title,points,(statement|key|file*))>
|
||||||
|
<!ATTLIST exercice id ID #REQUIRED>
|
||||||
|
<!ATTLIST exercice level (sandbox|easy|simple|medium|hard|extrem) #REQUIRED>
|
||||||
|
<!ATTLIST exercice depends IDREFS #IMPLIED>
|
||||||
|
|
||||||
|
<!ELEMENT points (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT statement (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT key (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT file (#PCDATA)>
|
14
htdocs/users.dtd
Normal file
14
htdocs/users.dtd
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<!ELEMENT users (user+)>
|
||||||
|
|
||||||
|
<!ELEMENT user (username,firstname,lastname,company)>
|
||||||
|
<!ATTLIST user id ID #REQUIRED>
|
||||||
|
|
||||||
|
<!ELEMENT username (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT firstname (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT lastname (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT company (#PCDATA)>
|
Loading…
Reference in New Issue
Block a user