Structured document transformation method, structured document transformation apparatus, and program product
First Claim
1. A structured document transforming method for performing bidirectional transformation between a first structured document and a second structured document, wherein the first structured document and the second structured document each includes elements, comprising:
- preparing a transformation rule having primitive rules each of which is applicable to respective one of the elements specified in units of paths within the first structured document;
performing a forward transformation which transforms the first structured document into the second structured document in accordance with the transformation rule;
creating a transformation record wherein which primitive rules were applied and which paths were transformed in the forward transformation are recorded;
editing the second structured document; and
performing a backward transformation which transforms the second structured document into the first structured document while referring to the transformation record, the transformation rule, and the first structured document.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer program product for performing bidirectional transformation between a first structured document and a second structured document is disclosed. A transformation rule having primitive rules each of which is applicable to respective one of elements specified in units of paths within the first structured document is prepared. A forward transformation is performed, which transforms the first structured document into the second structured document in accordance with the transformation rule. At that time, a transformation record is created. The record contains which primitive rules were applied and which paths were transformed in the forward transformation. The transformed second structured document may be edited by an application-side. After that, a backward transformation is performed, which transforms the second structured document into the first structured document with referral to the transformation record, the transformation rule, and the first structured document.
75 Citations
21 Claims
-
1. A structured document transforming method for performing bidirectional transformation between a first structured document and a second structured document, wherein the first structured document and the second structured document each includes elements, comprising:
-
preparing a transformation rule having primitive rules each of which is applicable to respective one of the elements specified in units of paths within the first structured document;
performing a forward transformation which transforms the first structured document into the second structured document in accordance with the transformation rule;
creating a transformation record wherein which primitive rules were applied and which paths were transformed in the forward transformation are recorded;
editing the second structured document; and
performing a backward transformation which transforms the second structured document into the first structured document while referring to the transformation record, the transformation rule, and the first structured document. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A structured document transforming apparatus which performs bidirectional transformation between a first structured document and a second structured document, wherein the first structured document and the second structured document each includes elements, comprising:
-
a storage configured to store a transformation rule having primitive rules each of which is applicable to respective one of the elements specified in units of paths within the first structured document;
a forward transformer configured to perform a forward transformation which transforms the first structured document into the second structured document in accordance with the transformation rule;
a creating device configured to create a transformation record wherein which primitive rules were applied and which paths were transformed in the forward transformation are recorded; and
a backward transformer configured to perform a backward transformation which transforms the second structured document into the first structured document with referral to the transformation record, the transformation rule, and the first structured document. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product embodied on a computer readable medium for performing bidirectional transformation between a first structured document and a second structured document, wherein the first structured document and the second structured document each includes elements, and wherein the bidirectional transformation uses a transformation rule having primitive rules each of which is applicable to respective one of the elements specified in units of paths within the first structured document, comprising:
-
a code segment that performs a forward transformation which transforms the first structured document into the second structured document in accordance with the transformation rule;
a code segment that creates a transformation record wherein which primitive rules were applied and which paths were transformed in the forward transformation are recorded; and
a code segment that performs a backward transformation which transforms the second structured document into the first structured document with referral to the transformation record, the transformation rule, and the first structured document. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification