xmldoc2txt is a more rigid framework for replacing xml tags in the documentation. It replaces the clunky perl substitution expressions.