Skip to content

Instantly share code, notes, and snippets.

@DILL44
Last active October 29, 2015 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DILL44/6e31949b319e2740909e to your computer and use it in GitHub Desktop.
Save DILL44/6e31949b319e2740909e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!ELEMENT projet (name, description, Warning*, illustrations?, authors, fablab?, licence, attachement+, materials?, tools?, skills?, steps?, creationDate, lastModification, tags?)>
<!----------------------------- base elements ----------------------------->
<!ELEMENT name (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT media (image|video)>
<!ELEMENT image EMPTY>
<!ATTLIST image src ENTITY #REQUIRED>
<!ATTLIST image title ENTITY #IMPLIED>
<!ATTLIST image alt ENTITY #IMPLIED>
<!ELEMENT video (image)>
<!ATTLIST video src ENTITY #REQUIRED>
<!ELEMENT website (websitename)>
<!ATTLIST website url ENTITY #REQUIRED>
<!----------------------------- contributors ----------------------------->
<!ELEMENT authors (author)>
<!ELEMENT author+ (name,firstname?,age?,image?,skill*, biography?, website*, contact)>
<!ELEMENT pseudo (#PCDATA)>
<!ELEMENT firstname (#PCDATA)>
<!ELEMENT age (#PCDATA)>
<!ELEMENT skill (category*, decription)>
<!ELEMENT biography (#PCDATA)>
<!----------------------------- other ----------------------------->
<!ELEMENT materials (material+)>
<!ELEMENT material (type, amount?)>
<!ELEMENT amount (number, unitie)>
<!ELEMENT tools (tools+)>
<!ELEMENT tool (title, deciprtion, warrning*, iamge?, tutorial, maintenance)>
<!ELEMENT maintenance (operation*)>
<!ELEMENT operation (title, media?, date, authors?, description)>
<!ELEMENT tutorial (name, description?, image?, step*)>
<!ELEMENT attachement (title, description?, contributor*, website*)>
<!ELEMENT licence (name, description, image, right*, limitation*)>
<!ELEMENT right (description)>
<!ELEMENT limitation (description)>
<!ELEMENT Warning (description, media?)>
<!ELEMENT skills (skill+)>
<!ELEMENT skill (name, description)>
<!ELEMENT steps (step+)>
<!ELEMENT step ( title, deciprtion, warrning, media?, step*)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment