Patent ID: 7069501

Claim:
A structured document processing system for processing a structured document that is structurally represented and contains one or more document parts, the structured document processing system comprising: a processor; rule providing means for providing a plurality of extraction rules to extract a document part, a repetitive duplication rule to duplicate a document part by a given number of times, or an insertion/substitution rule to insert or substitute a document part to a corresponding document part, the rule providing means embedding the plurality of rules in a plurality of structured documents containing the document part; a processing invocation description analyzing means for analyzing processing invocation descriptions; analyzing means for analyzing the structure of the structured documents to generate parse trees; a plurality of rule separating means for separating the rules embedded in the structured documents and the document part to retrieve the rules, based on the parse trees generated by the analyzing means; document processing synthesizing means for synthesizing a document processing rule string based only on the rule embedded in each structured document, the document processing description synthesizing means merging and sorting the extraction rule embedded in a first structured document and retrieved by the rule separating means, and the repetitive duplication rule and/or insertion/substitution rule embedded in a second structured document and retrieved by the rule separating means from a second structured document in which the repetitive duplication rule and/or insertion/substitution rule is embedded, to synthesize a document processing rule string for processing the first and second structured documents; extracting means for retrieving a first document part subject to the extraction rule from the first structured document; repetitive duplication means for repeatedly duplicating a document part subject to the repetitive duplication rule and a rule provided to the document part by a given number of times; an error notice document synthesizing means for synthesizing syntax errors of rules detected by the rule separating means for an error notice; a processing invocation description synthesizing means for synthesizing the processing invocation descriptions and error notice for assessing an error notice page; inserting/substituting means for inserting the first document part before or after a second document part subject to the insertion/substitution rule or substituting the first document part for the second document part; and an interpreter for sequentially executing the document processing rule string and synthesizing document parts by using the extracting means, the repetitive duplication means, and/or the inserting/substituting means.