Commit 8cca67f4 authored by Gaetan Carabetta's avatar Gaetan Carabetta

validation dtd/ng

parent d9780a12
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT traitements (traitement+)>
<!ELEMENT traitement (veterinaire, medicaments)>
<!ELEMENT Veterinaire (nom,prenom)>
<!ELEMENT veterinaire (nom,prenom)>
<!ELEMENT nom (#PCDATA)>
<!ELEMENT prenom (#PCDATA)>
......@@ -11,4 +12,4 @@
<!ELEMENT posologie (qte,medicament)>
<!ELEMENT qte (#PCDATA)>
<!ELEMENT medicament (nomMolec)>
<!ELEMENT nomMolec (#PCDATA)>
\ No newline at end of file
<!ELEMENT nomMolec (#PCDATA)>
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<start>
<element name="traitement">
......@@ -39,4 +40,4 @@
</element>
</start>
</grammar>
\ No newline at end of file
</grammar>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment