Bidirectional Scripting for Structured Documents

Shin-Cheng Mu,Zhenjiang Hu,Masato Takeichi
2005-01-01
Abstract:In a programmable structured document, some parts of the document may be computed from other parts. For example, a table-of-contents may be computed by the body of an article. We would wish, for example, that when the table-of-content is edited, the article body be changed accordingly. The computed result, however, is usually static and not editable. Using the birdirectional updating tech- niques we developed, we describe how to automatically reflect the changes made to the result back to the source. The scripts in a structured documents therefore reacts bidirectionally to the editing actions of the user. In this paper we present our algorithm to solve global constraints in a structured document, which is implemented in a prototype editor, XDoc.
What problem does this paper attempt to address?