摘要 |
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 detects an element which is included in the document, and which has been defined so as to indicate the start position and the end position of the annotation. The document processing apparatus 100 displays the region from the start position up to the end position in a format that differs from the format in which other elements are displayed. A null element which includes no element value may be employed as such an element that indicates the start position and the end position for adding an annotation. Also, the element may store the information in the form of an attribute value which provides the correspondence between the element that indicates the start position and the element that indicates the end position.
|