added provsional write method to create an xml tempfile
started change of xml generate method to content
switched #generate method in xmldoc to #content
cleaned up some of styles.rb