fixed empty strings on document element, added xhtml namespace identifier