We deal with mechanical documentation in software development tools. First, we review tabular forms for program specification and their formal syntax by an attribute edNCE graph grammar. Next we explain a parser based on the syntactic definitions and attribute rules. Furthermore, we introduce an XML viewer for tabular forms based on the attribute graph grammar. Finally, we introduce a system structure to construct the whole processing system for mechanical documentation. These results are applied to mechanical manipulation of general tabular forms. KEY WORDS software documentation, XML, visualization, attribute graph grammars, tabular forms