Add debug script for parse-xhtml