<!ENTITY % html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml/xhtml1-strict.dtd">
%html;
<!ENTITY % elementt	"(b:article | b:book | b:booklet | b:conference | b:inbook | b:incollection | b:inproceedings | b:manual | b:mastersthesis | b:misc | b:phdthesis | b:proceedings | b:techreport | b:unpublished)*">
<!ENTITY % others	"b:abstract?, b:affiliation?, b:contents?, b:keywords?, b:price?, b:references?">

<!ELEMENT b:bibliography		%elementt;>
<!ATTLIST b:bibliography     xmlns:b CDATA #FIXED "http://www.massimop.eu/bib">

<!ELEMENT b:article	(b:authors, b:title, b:journal, b:year, b:volume?, b:number?, b:pages?, b:month?, b:note?, b:key?, %others;)>
<!ELEMENT b:book		((b:authors | b:editor), b:title, b:publisher, b:year, b:volume?, b:series?, b:address?, b:edition?, b:month?, b:note?, b:key?, %others;)>
<!ELEMENT b:booklet	(b:title, b:authors?, b:howpublished?, b:address?, b:month?, b:year?, b:note?, b:key?, %others;)>
<!ELEMENT b:conference	(b:authors, b:title, b:booktitle, b:year, b:editor?, b:pages?, b:organization?, b:publisher?, b:address?, b:month?, b:note?, b:key?, b:crossref?, %others;)>
<!ELEMENT b:inbook	((b:authors | b:editor), b:title, (b:chapter | b:pages), b:publisher, b:year, b:volume?, b:series?, b:address?, b:edition?, b:month?, b:note?, b:key?, b:crossref?, %others;)>
<!ELEMENT b:incollection	(b:authors, b:title, b:booktitle, b:year, b:editor?, b:pages?, b:organization?, b:publisher?, b:address?, b:month?, b:note?, b:key?, b:crossref?, %others;)>
<!ELEMENT b:inproceedings	(b:authors, b:title, b:booktitle, b:year, b:editor?, b:pages?, b:organization?, b:publisher?, b:address?, b:month?, b:note?, b:key?, b:crossref?, %others;)>
<!ELEMENT b:manual	(b:title, b:authors?, b:organization?, b:address?, b:edition?, b:month?, b:year?, b:note?, b:key?, %others;)>
<!ELEMENT b:mastersthesis	(b:authors, b:title, b:school, b:year, b:address?, b:month?, b:note?, b:key?, %others;)>
<!ELEMENT b:misc		(b:authors?, b:title?, b:howpublished?, b:month?, b:year?, b:note?, b:key?, %others;)>
<!ELEMENT b:phdthesis	(b:authors, b:title, b:school, b:year, b:address?, b:month?, b:note?, b:key?, %others;)>
<!ELEMENT b:proceedings	(b:title, b:year, b:editor?, b:publisher?, b:organization?, b:address?, b:month?, b:note?, b:key?, %others;)>
<!ELEMENT b:techreport	(b:authors, b:title, b:institution, b:year, b:type?, b:number?, b:address?, b:month?, b:note?, b:key?, %others;)>
<!ELEMENT b:unpublished	(b:authors, b:title, b:note, b:month?, b:year?, b:key?, %others;)>

<!ATTLIST b:article	b:id ID #REQUIRED>
<!ATTLIST b:book		b:id ID #REQUIRED>
<!ATTLIST b:booklet	b:id ID #REQUIRED>
<!ATTLIST b:conference	b:id ID #REQUIRED>
<!ATTLIST b:inbook	b:id ID #REQUIRED>
<!ATTLIST b:incollection	b:id ID #REQUIRED>
<!ATTLIST b:inproceedings	b:id ID #REQUIRED>
<!ATTLIST b:manual	b:id ID #REQUIRED>
<!ATTLIST b:mastersthesis	b:id ID #REQUIRED>
<!ATTLIST b:misc		b:id ID #REQUIRED>
<!ATTLIST b:phdthesis	b:id ID #REQUIRED>
<!ATTLIST b:proceedings	b:id ID #REQUIRED>
<!ATTLIST b:techreport	b:id ID #REQUIRED>
<!ATTLIST b:unpublished	b:id ID #REQUIRED>


<!-- Standard -->
<!ELEMENT b:address	(#PCDATA)>
<!ELEMENT b:annote	(#PCDATA)>
<!ELEMENT b:authors	(b:author+)>
<!ELEMENT b:author	(b:name, b:surname)>
<!ELEMENT b:booktitle	(#PCDATA)>
<!ELEMENT b:chapter	(#PCDATA)>
<!ELEMENT b:crossref	EMPTY>
<!ATTLIST b:crossref	b:idref IDREF #REQUIRED>
<!ELEMENT b:edition	(#PCDATA)>
<!ELEMENT b:editor	(#PCDATA)>
<!ELEMENT b:howpublished	(#PCDATA)>
<!ELEMENT b:institution	(#PCDATA)>
<!ELEMENT b:journal	(#PCDATA)>
<!ELEMENT b:key		(#PCDATA)>
<!ELEMENT b:month		(#PCDATA)>
<!ELEMENT b:name		(#PCDATA)>
<!ELEMENT b:note		(#PCDATA)>
<!ELEMENT b:number	(#PCDATA)>
<!ELEMENT b:organization	(#PCDATA)>
<!ELEMENT b:pages		(#PCDATA)>
<!ELEMENT b:publisher	(#PCDATA)>
<!ELEMENT b:school	(#PCDATA)>
<!ELEMENT b:series	(#PCDATA)>
<!ELEMENT b:surname	(#PCDATA)>
<!ELEMENT b:title		(#PCDATA)>
<!ELEMENT b:type		(#PCDATA)>
<!ELEMENT b:url		(#PCDATA)>
<!ELEMENT b:volume	(#PCDATA)>
<!ELEMENT b:year		(#PCDATA)>

<!-- Others -->
<!ELEMENT b:abstract	%Block;>
<!ATTLIST b:abstract xmlns CDATA #FIXED "http://www.w3.org/1999/xhtml">
<!ELEMENT b:affiliation	(#PCDATA)>
<!ELEMENT b:contents	(#PCDATA)>
<!ELEMENT b:keyword	(#PCDATA)>
<!ELEMENT b:keywords	(b:keyword+)>
<!ELEMENT b:price		(#PCDATA)>
<!ELEMENT b:references	(b:reference+)>
<!ELEMENT b:reference	EMPTY>
<!ATTLIST b:reference	b:idref IDREF #REQUIRED> 

