摘要 |
PURPOSE:To show a user an edited picture in more natural arrangement and display. CONSTITUTION:An editor receives an SGML document 1 as the input and stores the edited result of an editing processing part 7 in a document holding part 6 in an SGML document form as the output. In the case of a new document, the editor makes the user designate the DTD and reads in only the DTD. When the editor reads in the SGML document and the DTD, the input is analyzed by an SGML parser 3. This parser 3 generates a finite automaton(DFA) 5 correspondingly to the DTD as the analysis result and stores it in a DTD holding part 4. A tree structure corresponding to the document structure is internally generated as the analysis result of the SGML document itself and is stored in the document holding part 6. A display device is determined based on action information corresponding to elements defined by document type definition. |