Patent ID: 6950984
Filing Date: 2005-09-27
Classification: G06F

Abstract:
1. A method for generating a display rule for a structured document comprising the steps of: employing a default generation rule and a document type definition for said structured document to generate a first display rule; employing said first display rule and said structured document to generate a first display document, and generating an element correlation file in which correlations between elements of said structured document and elements of said first display document are recorded; editing said first display document in a document editing environment in order to generate a second display document, and generating an editing operation history file in which editing operations are recorded; and generating a second display rule for said structured document by using said element correlation file and said structured document, and extracting one element from said second display document, selecting different element choices that belong to a structure that is the same as or similar to a structure to which said extracted element belongs, extracting an operating sequence concerning said extracted element from said editing operation history file, correlating said extracted element with said operating sequence, and executing the same process for all the other elements in said second display document; extracting one element from said second display document, extracting one operation from an operating sequence that corresponds to said extracted element, preparing editing records while correlating the contents of said extracted operation with a corresponding element of said structured document, executing the same process for all the operating sequences, and further executing the same process for all the other elements of said second display document; and extracting one element from elements in said editing record, examining said editing records to determine whether there is a common editing record for said different element choices, deleting said common editing record from all the element choices when said common editing record is present, updating a display rule for said extracted element to a rule that corresponds to said editing records, and executing the same process for all the other elements in said editing records.