-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfacturesGen.dtd
43 lines (43 loc) · 1.15 KB
/
facturesGen.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<!--DTD generated by XMLSpy v2013 sp1 (http://www.altova.com)-->
<!ELEMENT ville (#PCDATA)>
<!ELEMENT surface (#PCDATA)>
<!ATTLIST surface
unite CDATA #REQUIRED
>
<!ELEMENT stotligne (#PCDATA)>
<!ELEMENT ref (#PCDATA)>
<!ELEMENT pnom (#PCDATA)>
<!ELEMENT phtByUnit (#PCDATA)>
<!ELEMENT nom (#PCDATA)>
<!ELEMENT nbUnit (#PCDATA)>
<!ATTLIST nbUnit
typeUnit CDATA #REQUIRED
>
<!ELEMENT lignes ((ligne+))>
<!ELEMENT ligne ((info | (ref, designation, surface?, phtByUnit, nbUnit, stotligne)))>
<!ELEMENT info (#PCDATA)>
<!ELEMENT factures ((facture+))>
<!ATTLIST factures
adr1ets CDATA #REQUIRED
adr2ets CDATA #REQUIRED
cpets CDATA #REQUIRED
dateeditionXML CDATA #REQUIRED
logourl CDATA #REQUIRED
rsets CDATA #REQUIRED
villeets CDATA #REQUIRED
>
<!ELEMENT facture ((client?, lignes))>
<!ATTLIST facture
datefacture CDATA #REQUIRED
idclient CDATA #REQUIRED
numfacture CDATA #REQUIRED
refdevis CDATA #IMPLIED
type CDATA #REQUIRED
>
<!ELEMENT destinataire ((nom, pnom+))>
<!ELEMENT designation (#PCDATA)>
<!ELEMENT cp (#PCDATA)>
<!ELEMENT client ((destinataire, adr1, adr2, cp, ville))>
<!ELEMENT adr2 EMPTY>
<!ELEMENT adr1 (#PCDATA)>