Skip to content

Instantly share code, notes, and snippets.

@DILL44 DILL44/fablabdoc.dtd
Last active Oct 29, 2015

Embed
What would you like to do?
<?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
You can’t perform that action at this time.