Method and system for management of structured document and medium having processing program therefor
First Claim
1. A computer implemented structured document managing method for managing a structured document described by use of a document markup language, comprising:
- an entity reference information adding step in which when a document is registered, syntax analysis is made on the content of the document to extract all of entity reference information included in said document, an entity reference node is inserted into a tree structure of an analyzed document logical structure by using the extracted entity reference information, said entity reference node referring to a file including contents of a group of lower position nodes as a text of said document markup language;
a data content updating step in which an arbitrary entity reference node is selected from the tree structure of the document logical structure, a file indicated by said entity reference node is selected as an object of updating, and a content text of the selected file made object of updating is updated;
a partial logical structure generating step in which syntax analysis is made on the content text of the updated file, and a partial logical structure corresponding to said content text is generated; and
a document logical structure updating step in which all of the entity reference nodes referring to said file made object of updating are detected among the entity reference nodes included in the tree structure of said document logical structure, and the group of nodes in lower position of the detected entity reference nodes is replaced by said partial logical structure generated in said partial logical structure generating step.
0 Assignments
0 Petitions
Accused Products
Abstract
In a structured document managing method and system for managing a structured document formed by a plurality of elements, any file forming a registered document is selected as an object of updating from relationship data indicating an entity structure and a logical structure of the registered document and the data content of the selected update object file is updated. There is generated partial relationship data which indicates an entity structure and a logical structure of the update object file after updating. Relationship data of the registered document is updated by use of the generated partial relationship data. Thereby, a logical structure and an entity structure possessed by a document are managed in association with each other in a mutually convertible form.
44 Citations
4 Claims
-
1. A computer implemented structured document managing method for managing a structured document described by use of a document markup language, comprising:
-
an entity reference information adding step in which when a document is registered, syntax analysis is made on the content of the document to extract all of entity reference information included in said document, an entity reference node is inserted into a tree structure of an analyzed document logical structure by using the extracted entity reference information, said entity reference node referring to a file including contents of a group of lower position nodes as a text of said document markup language; a data content updating step in which an arbitrary entity reference node is selected from the tree structure of the document logical structure, a file indicated by said entity reference node is selected as an object of updating, and a content text of the selected file made object of updating is updated; a partial logical structure generating step in which syntax analysis is made on the content text of the updated file, and a partial logical structure corresponding to said content text is generated; and a document logical structure updating step in which all of the entity reference nodes referring to said file made object of updating are detected among the entity reference nodes included in the tree structure of said document logical structure, and the group of nodes in lower position of the detected entity reference nodes is replaced by said partial logical structure generated in said partial logical structure generating step.
-
-
2. A computer implemented structured document managing method for managing a structured document described by use of a document markup language, comprising:
-
an entity reference information adding step in which when a document is registered, syntax analysis is made on the content of the document to extract all of entity reference information included in said document, an entity reference node is inserted into a tree structure of an analyzed document logical structure by using the extracted entity reference information, said entity reference node referring to a file including contents of a group of lower position nodes as a text of said document markup language; a logical structure editing step of selecting an arbitrary partial logical structure as an object to be updated in the logical structure of the registered document, and editing said partial logical structure; an edition result data generating step of referring to the entity reference node included in said logical structure of the document, detecting a group of files affected by the edited partial logical structure, and for each detected file generating a text in said document markup language which is a content after the update; a corresponding data content updating step of replacing the data content of said file by the generated edition result data; and a document logical structure updating step in which all of the entity reference nodes referring to said file made object of updating are detected among the entity reference nodes included in the tree structure of said document logical structure, and the group of nodes in lower position of the detected entity reference nodes is replaced by said partial logical structure updated in said logical structure editing step.
-
-
3. A computer implemented structured document managing method for managing a structured document described by use of a document markup language, comprising:
-
an entity reference information adding step in which when a document is registered, syntax analysis is made on the content of the document to extract all of entity reference information included in said document, an entity reference attribute is inserted into each node of a tree structure of an analyzed document logical structure by using the extracted entity reference information, said entity reference attribute referring to a file including the contents as a text of said document markup language; a data content updating step in which an arbitrary node is selected from the tree structure of the document logical structure, a file indicated by the entity reference attribute of said node is selected as an object of updating, and a content text of the selected file made object of updating is updated; a partial logical structure generating step in which syntax analysis is made on the content text of the updated file, and a partial logical structure corresponding to said content text is generated; and a document logical structure updating step in which in the tree structure of said document logical structure, all of the nodes at the highest position among a group of nodes having the entity reference attribute and referring to the updated file are detected, and the group of nodes in lower position than the position of said detected node is replaced by said partial logical structure generated in said partial logical structure generating step.
-
-
4. A computer implemented structured document managing method for managing a structured document described by use of a document markup language, comprising:
-
an entity reference information adding step in which when a document is registered, syntax analysis is made on the content of the document to extract all of entity reference information included in said document, an entity reference attribute is inserted into each node of a tree structure of an analyzed document logical structure by using the extracted entity reference information, said entity reference attribute referring to a file including the contents as a text of said document markup language; a logical structure editing step of selecting an arbitrary partial logical structure as an object to be updated in the logical structure of the registered document, and editing said partial logical structure; an edition result data generating step of referring to the entity reference attribute included in said logical structure of the document, detecting a group of files affected by the edited partial logical structure, and for each detected file generating a text in said document markup language which is a content after the update; a corresponding data content updating step of replacing the data content of said file by the generated edition result data; and a document logical structure updating step in which all of the nodes at the highest position having the entity reference attribute and referring to the updated file are detected among the nodes included in the tree structure of said document logical structure, and the group of nodes in lower position than the position of said detected node is replaced by said partial logical structure updated in said logical structure editing step.
-
Specification