<!ENTITY % HTMLlat1 PUBLIC	"-//W3C//ENTITIES Latin1//EN//HTML"
							"HTMLlat1.ent"  >
%HTMLlat1;
<!ENTITY % HTMLsymbol PUBLIC   "-//W3C//ENTITIES Symbols//EN//HTML"
								"HTMLsymbol.ent"  >
%HTMLsymbol;
<!ENTITY % HTMLspecial PUBLIC   "-//W3C//ENTITIES Special//EN//HTML"
								"HTMLspecial.ent"  >
%HTMLspecial;
<!ENTITY % ePara	"(P | P-Large | P-Medium | P-Small)" >
<!ENTITY % eCommon	"(Caution | %ePara; | Table-Group | TABLE | Image | Appendix)" >
<!ENTITY % eTitle		"(Emphasis?, Title, Subtitle?)" >
<!ENTITY % cellhalign	"align	(left | center | right | justify)	#IMPLIED " >
<!ENTITY % cellvalign	"valign	(top | middle | bottom | baseline)	#IMPLIED " >
<!ENTITY % coreattrs	"id		ID			#IMPLIED
							class		CDATA		#IMPLIED" >
<!ENTITY % attrs	"aId		ID		#IMPLIED
						aClass	(mandatory | option)	'mandatory' "  >
<!ENTITY % eYesNo	"(Y | N)" >
<!ENTITY % TAlign	"(left | center | right)" >
<!ENTITY % TFrame	"(void | above | below | hsides | lhs | rhs | vsides | box | border)" >
<!ENTITY % TRules	"(none | groups | rows | cols | all)" >
<!ENTITY amp	"&#38;" >
<!ENTITY lt		"&#60;" >
<!ENTITY apos	"&#39;"  >
<!ENTITY quot	"&#34;"  >
<!ENTITY gt		"&#62;"  >
<!ENTITY cr		"&amp;cr;"  >
<!ENTITY nbsp	"&amp;nbsp;">
<!ELEMENT Document	- - (Document-Header, Body, Note-Group?) >
<!ELEMENT Document-Header	- - (Document-Name, Formula-Version, Company-Name, Summary?) >
<!ATTLIST Document-Header	aExt-Class	%eYesNo;		"N"  >
<!ELEMENT Document-Name	- - (#PCDATA) >
<!ATTLIST Document-Name aCode			CDATA		#REQUIRED >
<!ELEMENT Formula-Version	- - (#PCDATA) >
<!ATTLIST Formula-Version aDate			CDATA		#IMPLIED >
<!ELEMENT Company-Name - - (#PCDATA)  >
<!ATTLIST Company-Name	aRegCIK				CDATA		#REQUIRED
												aAccountType	CDATA		#IMPLIED  >
<!ELEMENT Summary	- - (Extraction+) >
<!ELEMENT Extraction	- - (#PCDATA)	-(Extraction) >
<!ATTLIST Extraction		aCode			CDATA		#IMPLIED
												aFeature	(Num | Char | Both)		"Both"  >
<!ELEMENT Body	- - (Correction?, Cover?, TOC?, (Part | Section-1 | %eTitle; | %eCommon; | Library)*)
										+(Pgbrk, Insertion) >
<!ELEMENT Correction		- - (Title, (TABLE | Table-Group | %ePara;)*) >
<!ELEMENT Cover		- - ((Cover-Title | TABLE | Table-Group | %ePara;)*) >
<!ELEMENT TOC	- - ((Title, (TABLE | Table-Group | %ePara; | Image)*)) >
<!ELEMENT Part	- - ((%eTitle;)?, (Description | (%eCommon; | Section-1)*)) >
<!ATTLIST Part		%attrs;
									aPartSource		(Source | Target)		"Source"
									aPartInfo			CDATA		#IMPLIED>
<!ELEMENT Section-1		- -  ((%eTitle;)?, (Description | (%eCommon; | Section-2)*)) >
<!ATTLIST Section-1		%attrs;
											aPartSource		(Source | Target)		"Source"
											aPartInfo			CDATA		#IMPLIED>
<!ELEMENT Section-2		- - ((%eTitle;)?, (%eCommon; | Section-3)*) >
<!ATTLIST Section-2		%attrs;  >
<!ELEMENT Section-3		- - ((%eTitle;)?, (%eCommon; | Section-4)*) >
<!ATTLIST Section-3		%attrs;  >
<!ELEMENT Section-4		- - ((%eTitle;)?, (%eCommon; | Section-5)*) >
<!ATTLIST Section-4		%attrs;  >
<!ELEMENT Section-5		- - ((%eTitle;)?, (%eCommon; | Section-6)*) >
<!ATTLIST Section-5		%attrs;  >
<!ELEMENT Section-6		- - ((%eTitle;)?, (%eCommon; | Section-7)*) >
<!ATTLIST Section-6		%attrs;  >
<!ELEMENT Section-7		- - ((%eTitle;)?, (%eCommon;)*) >
<!ATTLIST Section-7		%attrs;  >
<!ELEMENT Cover-Title		- - (#PCDATA) >
<!ATTLIST Cover-Title		aClass			CDATA			#IMPLIED
												aTOC				%eYesNo;		"N"
												aAssocNote	CDATA		#IMPLIED  >
<!ELEMENT Emphasis - - (#PCDATA) >
<!ELEMENT Title		- - (#PCDATA) >
<!ATTLIST Title		aClass		CDATA			#IMPLIED
									aTOC			%eYesNo;		"N"
									aAssocNote	CDATA		#IMPLIED  >
<!ELEMENT Subtitle - - (#PCDATA) >
<!ELEMENT P		- - (#PCDATA) >
<!ATTLIST P		%coreattrs; >
<!ELEMENT P-Large	- - (#PCDATA) >
<!ELEMENT P-Medium	- - (#PCDATA) >
<!ELEMENT P-Small	- - (#PCDATA) >
<!ELEMENT Caution		- - ((%eTitle;)?, (%ePara; | TABLE | Table-Group | Image)*) >
<!ATTLIST Caution	  aID		ID		#IMPLIED  >
<!ELEMENT Image		- - (IMG, IMG-Caption) >
<!ELEMENT IMG-Caption		- - 	(#PCDATA) >
<!ATTLIST IMG-Caption		aTOC	%eYesNo;	"N" >
<!ELEMENT IMG		- - (#PCDATA) >
<!ATTLIST IMG		%coreattrs;
								width		CDATA							#IMPLIED
								height	CDATA							#IMPLIED
								align		(left | center | right)		"center"
								hspace	CDATA							#IMPLIED  >
<!ELEMENT Pgbrk		- - (#PCDATA) >
<!ATTLIST Pgbrk		aNumber		CDATA	 #IMPLIED  >
<!ELEMENT Insertion		- - (Comment, LibraryList, Library*) >
<!ATTLIST Insertion		aBasisNumber	CDATA			#IMPLIED
											aFrequency		CDATA			#IMPLIED
											aDuplication	%eYesNo; 	"N" >
<!ELEMENT Appendix	- - (Comment, Description?, Filename?) >
<!ELEMENT Library		- - (Filename?, (Part | Section-1 | Section-2 | Section-3 | %eCommon; | Correction)+ ) >
<!ELEMENT Comment		- - (#PCDATA) >
<!ELEMENT Description		- - (#PCDATA) >
<!ELEMENT LibraryList	- - (#PCDATA) >
<!ELEMENT Filename	- - (#PCDATA) >
<!ATTLIST Filename	aType		CDATA			#IMPLIED >
<!ELEMENT Table-Group	- - ((%eTitle;)?, TABLE*) >
<!ATTLIST Table-Group	aClass				CDATA		#IMPLIED
											aDeleteTable	%eYesNo;		"Y" >
<!ELEMENT TABLE		- - ((COL* | COLGROUP*), THEAD?, TFOOT?, TBODY+) >
<!ATTLIST TABLE		class			(finance | extraction | non-extraction)		"non-extraction"
									aFixTable	%eYesNo;		"N"
									width			CDATA				#IMPLIED 
									border		CDATA				#IMPLIED 
									frame			%TFrame;		#IMPLIED
									rules			%TRules;		#IMPLIED 
									align			%TAlign;		#IMPLIED  >
<!ELEMENT COL		- - (#PCDATA) >
<!ATTLIST COL		%coreattrs;
								span		CDATA		"1"
								width		CDATA		#IMPLIED
								%cellhalign;
								%cellvalign;  >
<!ELEMENT COLGROUP	- - (COL*) >
<!ATTLIST COLGROUP	%coreattrs;
										span		CDATA		"1"
										width		CDATA		#IMPLIED 
										%cellhalign;
										%cellvalign;  >
<!ELEMENT THEAD		- - (TR+) >
<!ATTLIST THEAD		%coreattrs;
									%cellhalign;
									%cellvalign;  >
<!ELEMENT TFOOT		- - (TR+) >
<!ATTLIST TFOOT		%coreattrs;
									%cellhalign;
									%cellvalign;  >
<!ELEMENT TBODY		- - (TR+) >
<!ATTLIST TBODY		%coreattrs;
									%cellhalign;
									%cellvalign;  >
<!ELEMENT TR	- - (TH | TD | TE | TU)+ >
<!ATTLIST TR	%cellhalign;
							%cellvalign;
  						aCopy			(Copy | NoCopy)		"Copy"
  						aDelete		(Delete | NoDelete)		"Delete" >
<!ELEMENT TH	- - (#PCDATA) >
<!ATTLIST TH	id					ID			#IMPLIED
							class				(Large | Medium | Small | Normal)	#IMPLIED
							rowspan			CDATA		"1"
							colspan			CDATA		"1"
							%cellhalign;
							%cellvalign;
							width				CDATA			#IMPLIED
							height			CDATA			#IMPLIED
  						aCopyCol		(CopyCol | NoCopyCol)				"CopyCol"
  						aDeleteCol	(DeleteCol | NoDeleteCol)		"DeleteCol"
  						aMoveCol		(MoveCol | NoMoveCol)		"NoMoveCol"
							aUpdateCont (UpdateCont | NoUpdateCont)	"UpdateCont"	>
<!ELEMENT TD	- - (#PCDATA) >
<!ATTLIST TD	id					ID			#IMPLIED
							class				(Large | Medium | Small | Normal)	#IMPLIED
							rowspan			CDATA		"1"
							colspan			CDATA		"1"
							align				(left | center | right | justify)		"left"
							valign			(top | middle | bottom | baseline)	"top"
							width				CDATA		#IMPLIED 
							height			CDATA		#IMPLIED
							aUpdateCont (UpdateCont | NoUpdateCont)	"UpdateCont"	>
<!ELEMENT TE	- - (#PCDATA) >
<!ATTLIST TE	id					ID			#IMPLIED
							class				(Large | Medium | Small | Normal)	#IMPLIED
							rowspan			CDATA		"1"
							colspan			CDATA		"1"
							align				(left | center | right | justify)		"left"
							valign			(top | middle | bottom | baseline)	"top"
							width				CDATA		#IMPLIED 
							height			CDATA		#IMPLIED
							aCode				CDATA		#IMPLIED
							aDelim			CDATA		#IMPLIED
							aLevel			CDATA		#IMPLIED >
<!ELEMENT TU	- - (#PCDATA) >
<!ATTLIST TU	id					ID			#IMPLIED
							class				(Large | Medium | Small | Normal)	#IMPLIED
							rowspan			CDATA		"1"
							colspan			CDATA		"1"
							align				(left | center | right | justify)		"left"
							valign			(top | middle | bottom | baseline)	"top"
							width				CDATA		#IMPLIED 
							height			CDATA		#IMPLIED
							aUnit				CDATA		#IMPLIED
							aUnitvalue	CDATA		#IMPLIED >
<!ELEMENT Note-Group	- - (Note+) >
<!ELEMENT Note	- - ((%eTitle;)?, (%ePara; | TABLE | Table-Group | Image)+) >
<!ATTLIST Note	aID		CDATA		#REQUIRED  >
