change make-tag-function to make-default-tag-function; add split-attributes function