摘要 |
A technique is provided for adding an annotation to a document described in a markup language. Upon acquisition of a document described in a markup language, a document processing apparatus 100 acquires a first definition file that specifies a processing method for elements included in the document, and a second definition file that specifies a processing method for elements that provide a function of adding an annotation to the document. A definition file combining unit 88 inserts the second definition file in the first definition file. The second definition file includes a description that specifies a display format for elements that provide a function of adding an annotation, and a description that specifies a processing method for adding/deleting an element that provides a function of adding an annotation, to/from the document. The document processing apparatus 100 displays the document with annotations according to the aforementioned description.
|