<!ENTITY % config "config">
	
	<!ELEMENT config (autohyperlink|preservestyle|text-antialiasing|graphics-antialiasing |diff | fontmapping|presetcolors|pastespecial|presetsymbols|customtags|spellingcheckers|cleanupprocess|defaulttablesettings|converttablewidthtorelative|paragraphstyles|alternateenterkeyaction|fontsizeunit|fontsizes|documentcounter|tabpaneplacement|documentvalidation|sourceview|exportasnumerical|bodyonly|nbspfill|locale|uicolors|newdocumentdialog|multipleundoredo|oldfontstylemode|standalonemode|licensekey|encoding|sethtmldataurl|gethtmldataurl|eopeventhandling|oneditorloaded|ondataloaded|ondataposted|ondatapostederror|templateurl|customfield|localeurl|uicolor|dragndrop|directhttp|readonly|uploadimagesmethod|imagebase|base|customtagsentities|visualimageresize|autosave|nextbookmark|previousbookmark|mousewheelscroll|plugins|plugin|advanceddialog|customtagseditingonly|filemanagement|browsefilesystem|userpreferences|showall|tableautoformat|inlinequote|blockquote)+>
	<!ELEMENT fontmapping (font*)>
	<!ATTLIST fontmapping usesystemfonts (true|false) 'false'>
	<!ATTLIST fontmapping usedefaultwhitespacecharacters (true|false) 'true'>
	<!ELEMENT font (renderedfont, exportedfont)>
	<!ATTLIST font name CDATA #REQUIRED>
	<!ELEMENT renderedfont (#PCDATA)>
	<!ATTLIST renderedfont url CDATA #IMPLIED>
	<!ELEMENT exportedfont (#PCDATA)>
	<!ELEMENT presetcolors (color+)>
	<!ATTLIST presetcolors only (true|false) 'false'>
	<!ELEMENT presetsymbols (symbol+)>
	<!ATTLIST presetsymbols only (true|false) 'false'>
	<!ELEMENT symbol EMPTY>
	<!ATTLIST symbol entity CDATA #REQUIRED>
	<!ELEMENT pastespecial EMPTY>
	<!ATTLIST pastespecial prompt (true|false) 'false'>
	<!ATTLIST pastespecial preselectedaction (PASTEWITHFILTER|PASTEPLAINTEXT|PASTE|PASTEWITHSTYLEDEFS) 'PASTE'>
	<!ELEMENT color EMPTY>
	<!ATTLIST color rgb CDATA #REQUIRED>
	<!ATTLIST color desc CDATA #IMPLIED>
	<!ELEMENT spellingcheckers ((spellingchecker+,addspellcheckwordurl?) | (addspellcheckwordurl?,spellingchecker+))>
	<!ATTLIST spellingcheckers autospellcheck (true|false) 'false'>
	<!ATTLIST spellingcheckers allowaddwords (true|false) 'true'>
	<!ATTLIST spellingcheckers autospellchecksuggestion CDATA #IMPLIED>
	<!ATTLIST spellingcheckers customautospellcheck (true|false) 'false'>
	<!ELEMENT spellingchecker EMPTY>
	<!ATTLIST spellingchecker name CDATA #REQUIRED>
	<!ATTLIST spellingchecker properties CDATA #IMPLIED>
	<!ATTLIST spellingchecker archive CDATA #IMPLIED>
	<!ATTLIST spellingchecker version CDATA #IMPLIED>
	<!ATTLIST spellingchecker default (true|false) 'false'>
	<!ELEMENT addspellcheckwordurl EMPTY>
	<!ATTLIST addspellcheckwordurl url CDATA #IMPLIED>
	<!ELEMENT cleanupprocess EMPTY>
	<!ATTLIST cleanupprocess url CDATA #IMPLIED>
	<!ATTLIST cleanupprocess class CDATA #IMPLIED>
	<!ATTLIST cleanupprocess cleanuponload (off|auto|always) 'auto'>
	<!ATTLIST cleanupprocess cleanuponsave (off|auto|always) 'auto'>
	<!ATTLIST cleanupprocess dropillegalattributes (true|false) 'true'>
	<!ATTLIST cleanupprocess dropillegaltags (true|false) 'true'>
	<!ATTLIST cleanupprocess hidecomments (true|false) 'false'>
	<!ELEMENT defaulttablesettings (table_numrows|table_numcols|table_overallwidth|table_rowheight|table_colwidth|table_maxrows|table_maxcols|table_caption|table_bgcolor|table_borderwidth|table_cellpadding|table_cellspacing)*>
		<!ATTLIST defaulttablesettings table_align (left|center|right) #IMPLIED>
		<!ATTLIST defaulttablesettings cell_valign (top|middle|bottom|baseline) #IMPLIED>
		<!ATTLIST defaulttablesettings automatic_relative_cellwidth (true|false) 'false'>
		<!ATTLIST defaulttablesettings width_unit (pixel|percent) #IMPLIED>
		<!ATTLIST defaulttablesettings height_unit (pixel|percent) #IMPLIED>		
		<!ATTLIST defaulttablesettings widthinstyle (true|false) 'false'>
	<!ELEMENT table_numrows (#PCDATA)>
	<!ELEMENT table_numcols (#PCDATA)>
	<!ELEMENT table_overallwidth (#PCDATA)>
	<!ELEMENT table_rowheight (#PCDATA)>
	<!ELEMENT table_colwidth (#PCDATA)>
	<!ELEMENT table_maxrows (#PCDATA)>
	<!ELEMENT table_maxcols (#PCDATA)>
	<!ELEMENT table_bgcolor (#PCDATA)>
	<!ELEMENT table_borderwidth (#PCDATA)>
	<!ELEMENT table_cellpadding (#PCDATA)>
	<!ELEMENT table_cellspacing (#PCDATA)>
	<!ELEMENT table_caption (#PCDATA)>
		<!ATTLIST table_caption alignment (left|right|top|bottom) #IMPLIED>
	<!ELEMENT converttablewidthtorelative EMPTY>
		<!ATTLIST converttablewidthtorelative enabled (true|false) 'false'>
		<!ATTLIST converttablewidthtorelative reference CDATA #IMPLIED>
	<!ELEMENT paragraphstyles (paragraphstyle*)>
	<!ELEMENT paragraphstyle EMPTY>
	<!ATTLIST paragraphstyle name CDATA #REQUIRED> 
	<!ELEMENT alternateenterkeyaction EMPTY> 
	<!ATTLIST alternateenterkeyaction enabled (true|false) 'false'>
	<!ELEMENT fontsizeunit EMPTY>
	<!ATTLIST fontsizeunit unit (pt|px|in|cm|mm|pc|ex|em) 'px'>
	<!ELEMENT fontsizes (fontsize+)>
	<!ELEMENT fontsize EMPTY>
	<!ATTLIST fontsize size CDATA #REQUIRED>
	<!ELEMENT documentcounter EMPTY>
	<!ATTLIST documentcounter limit CDATA #IMPLIED>
	<!ATTLIST documentcounter enforcelimit (true|false) 'false'>
	<!ATTLIST documentcounter customelementlimited (true|false) 'true'>
	<!ELEMENT tabpaneplacement EMPTY>
	<!ATTLIST tabpaneplacement isbottom (true|false) 'true'>
	<!ELEMENT browsefilesystem EMPTY>
	<!ATTLIST browsefilesystem enabled (true|false) 'true'>
	<!ELEMENT customtagseditingonly EMPTY>
	<!ATTLIST customtagseditingonly enabled (true|false) 'false'>
	<!ELEMENT documentvalidation EMPTY>
	<!ATTLIST documentvalidation enabled (true|false) 'true'>
	<!ATTLIST documentvalidation validateonsave (true|false) 'false'>
	<!ATTLIST documentvalidation overridedoctype (true|false) 'true'>
	<!ATTLIST documentvalidation allowforcedload  (true|false) 'false'>
	<!ELEMENT sourceview EMPTY>
	<!ATTLIST sourceview enabled (true|false) 'false'>
	<!ATTLIST sourceview smartindent (true|false) 'true'>
	<!ATTLIST sourceview wordwrap (true|false) 'false'>
	<!ATTLIST sourceview readonly (true|false) 'false'>
	<!ATTLIST sourceview syntaxhighlighting (true|false) 'false'>
	<!ATTLIST sourceview fontname CDATA #IMPLIED>
    <!ATTLIST sourceview fontsize CDATA #IMPLIED>
	<!ELEMENT exportasnumerical EMPTY>
	<!ATTLIST exportasnumerical enabled (true|false) 'false'>
	<!ELEMENT bodyonly EMPTY>
	<!ATTLIST bodyonly enabled (true|false) 'false'>
	<!ELEMENT nbspfill EMPTY>
	<!ATTLIST nbspfill enabled (true|false) 'true'>
	<!ATTLIST nbspfill filltable (true|false) 'true'>
	<!ELEMENT locale EMPTY>
	<!ATTLIST locale value CDATA #IMPLIED>
	<!ELEMENT localeurl EMPTY>
	<!ATTLIST localeurl value CDATA #IMPLIED>
	<!ELEMENT uicolors (uicolor+)>
	<!ELEMENT uicolor EMPTY>
	<!ATTLIST uicolor name (windowfacecolor|tabpaneactivecolor|windowhighlightcolor|lightedgecolor|darkedgecolor|innertextcolor|disablediconcolor) #REQUIRED>
	<!ATTLIST uicolor rgb CDATA #REQUIRED>
	<!ELEMENT newdocumentdialog EMPTY>
	<!ELEMENT plugins (plugin+)>
	<!ELEMENT plugin EMPTY>
	<!ATTLIST plugin elementname CDATA #REQUIRED>
	<!ATTLIST plugin class CDATA #REQUIRED>
	<!ATTLIST plugin resizable (true|false) 'false'>
	<!ATTLIST newdocumentdialog enabled (true|false) 'true'>
	<!ELEMENT oldfontstylemode EMPTY>
	<!ATTLIST oldfontstylemode enabled (true|false) 'false'>
	<!ELEMENT standalonemode EMPTY>
	<!ATTLIST standalonemode enabled (true|false) 'false'>
	<!ELEMENT multipleundoredo EMPTY>
	<!ATTLIST multipleundoredo enabled (true|false) 'false'>
	<!ATTLIST multipleundoredo maxsteps CDATA '20'>
	<!ELEMENT licensekey EMPTY>
	<!ATTLIST licensekey value CDATA #REQUIRED>
	<!ELEMENT encoding EMPTY>
	<!ATTLIST encoding value CDATA #REQUIRED>
	<!ELEMENT directhttp EMPTY>
	<!ATTLIST directhttp 
			sethtmldataurl CDATA #IMPLIED 
			setokurl  CDATA #IMPLIED 
			setoktarget  CDATA #IMPLIED 
			seterrorurl  CDATA #IMPLIED 
			seterrortarget  CDATA #IMPLIED 
			gethtmldataurl CDATA #IMPLIED 
			getokurl CDATA #IMPLIED 
			getoktarget CDATA #IMPLIED 
			geterrorurl CDATA #IMPLIED 
			geterrortarget CDATA #IMPLIED
			imageupload (true|false) 'false'>
	<!ELEMENT eopeventhandling (oneditorloaded|ondataloaded|ondataposted|ondatapostederror|onacceptinsertionfinished|onrejectinsertionfinished|onacceptdeletionfinished|onrejectdeletionfinished|onacceptformatfinished|onrejectformatfinished|onacceptallfinished|onrejectallfinished|ondifffinished|ontrackchanges|onacceptselectedchangesfinished|onrejectselectedchangesfinished|onchange|onselectionchange)*>
	<!ELEMENT oneditorloaded EMPTY>
	<!ATTLIST oneditorloaded value CDATA #REQUIRED>
	<!ELEMENT ondataloaded EMPTY>
	<!ATTLIST ondataloaded value CDATA #REQUIRED>
	<!ELEMENT ondataposted EMPTY>
	<!ATTLIST ondataposted value CDATA #REQUIRED>
	<!ELEMENT ondatapostederror EMPTY>
	<!ATTLIST ondatapostederror value CDATA #REQUIRED>
	<!ELEMENT onacceptinsertionfinished EMPTY>
	<!ATTLIST onacceptinsertionfinished value CDATA #REQUIRED>
	<!ELEMENT onrejectinsertionfinished EMPTY>
	<!ATTLIST onrejectinsertionfinished value CDATA #REQUIRED>
	<!ELEMENT onacceptdeletionfinished EMPTY>
	<!ATTLIST onacceptdeletionfinished value CDATA #REQUIRED>
	<!ELEMENT onrejectdeletionfinished EMPTY>
	<!ATTLIST onrejectdeletionfinished value CDATA #REQUIRED>
	<!ELEMENT onacceptformatfinished EMPTY>
	<!ATTLIST onacceptformatfinished value CDATA #REQUIRED>
	<!ELEMENT onrejectformatfinished EMPTY>
	<!ATTLIST onrejectformatfinished value CDATA #REQUIRED>
	<!ELEMENT onacceptallfinished EMPTY>
	<!ATTLIST onacceptallfinished value CDATA #REQUIRED>
	<!ELEMENT onrejectallfinished EMPTY>
	<!ATTLIST onrejectallfinished value CDATA #REQUIRED>
	<!ELEMENT ondifffinished EMPTY>
	<!ATTLIST ondifffinished value CDATA #REQUIRED>
	<!ELEMENT ontrackchanges EMPTY>
	<!ATTLIST ontrackchanges value CDATA #REQUIRED>
	<!ELEMENT onacceptselectedchangesfinished EMPTY>
	<!ATTLIST onacceptselectedchangesfinished value CDATA #REQUIRED>
	<!ELEMENT onrejectselectedchangesfinished EMPTY>
	<!ATTLIST onrejectselectedchangesfinished value CDATA #REQUIRED>
	<!ELEMENT onchange EMPTY>
	<!ATTLIST onchange value CDATA #REQUIRED>
	<!ELEMENT onselectionchange EMPTY>
	<!ATTLIST onselectionchange value CDATA #REQUIRED>
	<!ELEMENT templateurl EMPTY>
	<!ATTLIST templateurl url CDATA #REQUIRED>
	<!ELEMENT customfield EMPTY>
	<!ATTLIST customfield value CDATA #REQUIRED>
	<!ELEMENT dragndrop EMPTY>
	<!ATTLIST dragndrop enabled (true|false) 'true'>
	<!ELEMENT imagebase EMPTY>
	<!ATTLIST imagebase url CDATA #REQUIRED>
	<!ELEMENT base EMPTY>
	<!ATTLIST base href CDATA #REQUIRED>
	<!ELEMENT uploadimagesmethod (webdav|http)>
	<!ELEMENT webdav EMPTY>
	<!ATTLIST webdav username CDATA #IMPLIED>
	<!ATTLIST webdav encryptedpassword CDATA #IMPLIED>
	<!ATTLIST webdav userpassword CDATA #IMPLIED>	
	<!ATTLIST webdav url CDATA #REQUIRED>
	<!ATTLIST webdav mimetype CDATA #IMPLIED>
	<!ATTLIST webdav debug (true|false) 'false'>
	<!ATTLIST webdav putmethodexpectation (true|false) 'true'>
	<!ATTLIST webdav fullaccess (true|false) 'false'>
	<!ELEMENT customtagsentities EMPTY>
	<!ATTLIST customtagsentities inlinetags CDATA #IMPLIED>
	<!ATTLIST customtagsentities blocktags CDATA #IMPLIED>
	<!ELEMENT http EMPTY>
	<!ATTLIST http url CDATA #REQUIRED>
	<!ELEMENT readonly EMPTY>
	<!ATTLIST readonly enabled (true|false) 'false'>
	<!ELEMENT visualimageresize EMPTY>
	<!ATTLIST visualimageresize enabled (true|false) 'true'>
	<!ELEMENT advanceddialog EMPTY>
	<!ATTLIST advanceddialog enabled (true|false) 'true'>
	<!ELEMENT autosave EMPTY>
	<!ATTLIST autosave enabled (true|false) 'true'>	
	<!ATTLIST autosave method (filesystem|post) 'post'>
	<!ATTLIST autosave destination CDATA #REQUIRED>
	<!ATTLIST autosave interval CDATA #REQUIRED>
	<!ELEMENT nextbookmark EMPTY>
	<!ATTLIST nextbookmark wraparound (true|false) 'true'>
	<!ELEMENT previousbookmark EMPTY>
	<!ATTLIST previousbookmark wraparound (true|false) 'true'>
	<!ELEMENT mousewheelscroll EMPTY>
	<!ATTLIST mousewheelscroll increment CDATA #REQUIRED>		
	<!ELEMENT filemanagement (file+)>
	<!ELEMENT file (webdav|http)>
	<!ATTLIST file type (image|document|object) #REQUIRED>	
	<!ATTLIST file baseurl CDATA #IMPLIED>	
	<!ATTLIST file autoupload (true|false) 'false'>
	<!ATTLIST file mimetype CDATA #IMPLIED>
	<!ATTLIST file maxsize CDATA #IMPLIED>
	<!ATTLIST file onuploadfinished CDATA #IMPLIED>	
	<!ELEMENT showall EMPTY>
	<!ATTLIST showall enabled (true|false) 'false'>
	<!ELEMENT diff ((ignorefilterurl?,verticalbarlook?)|(verticalbarlook?|ignorefilterurl?))>
	<!ELEMENT ignorefilterurl (#PCDATA)>
	<!ELEMENT verticalbarlook EMPTY>
	<!ATTLIST verticalbarlook verticalbar-width CDATA #IMPLIED>
	<!ATTLIST verticalbarlook verticalbar-color CDATA #IMPLIED>
	<!ELEMENT text-antialiasing EMPTY>
	<!ATTLIST text-antialiasing enabled (true|false|default) 'default'>
	<!ELEMENT graphics-antialiasing EMPTY>
	<!ATTLIST graphics-antialiasing enabled (true|false|default) 'default'>
	<!ELEMENT autohyperlink EMPTY>
	<!ATTLIST autohyperlink enabled (true|false) 'true'>
	<!ELEMENT userpreferences EMPTY>
	<!ATTLIST userpreferences enabled (true|false) 'true'>
	<!ELEMENT preservestyle EMPTY>
	<!ATTLIST preservestyle enabled (true|false) 'true'>
	<!ELEMENT tableautoformat (tableautoformattemplateurl|tableautoformattemplate)*>
	<!ATTLIST tableautoformat loadtemplate (synchronous|asynchronous|asneeded) 'synchronous'>
	<!ATTLIST tableautoformat requireautoformat (true|false) 'false'>
	<!ELEMENT tableautoformattemplateurl EMPTY>
	<!ATTLIST tableautoformattemplateurl url CDATA #REQUIRED>
	<!ELEMENT tableautoformattemplate (template)*>
	<!ELEMENT template (wholetable|topleftcell|leftcolumn|firstrow|rightcolumn|lastrow|evenrowstripes|bottomleftcell|toprightcell|bottomrightcell|oddrowstripes|topleftcell)+>
	<!ATTLIST template name CDATA #REQUIRED>
	<!ELEMENT wholetable (attribute)*>
	<!ELEMENT leftcolumn (attribute)*>
	<!ELEMENT firstrow (attribute)*>
	<!ELEMENT rightcolumn (attribute)*>
	<!ELEMENT lastrow (attribute)*>
	<!ELEMENT evenrowstripes (attribute)*>
	<!ELEMENT bottomleftcell (attribute)*>
	<!ELEMENT toprightcell (attribute)*>
	<!ELEMENT bottomrightcell (attribute)*>
	<!ELEMENT oddrowstripes (attribute)*>
	<!ELEMENT topleftcell (attribute)*>
	<!ELEMENT attribute EMPTY>
	<!ATTLIST attribute name CDATA #REQUIRED>
	<!ATTLIST attribute value CDATA #REQUIRED>	
	<!ELEMENT inlinequote EMPTY>
	<!ATTLIST inlinequote showinsertdialog (true|false) 'true'>
	<!ELEMENT blockquote EMPTY>
	<!ATTLIST blockquote showinsertdialog (true|false) 'true'>
	