Document transformation
First Claim
1. A method implemented at least in part by a computer, the method comprising:
- obtaining a copy of a source XML (Extensible Markup Language) document, the source XML document including configuration data for use by an application in conjunction with the application executing in an environment;
obtaining a transformation document that includes declarative statements that indicate modifications to make to the copy to transform the copy into a target XML document, the transformation document also including location information that indicates nodes in the copy upon which the modifications are to operate;
transforming, within an integrated development environment, the copy of the source XML document according to the transformation document to create the target XML document, a first declarative statement of the transformation document indicating a file and an element of the copy, the file including additional declarative statements that indicate one or more modifications to make to the element of the copy, transforming the copy including applying the one or more modification to the element of the copy; and
providing the target XML document; and
wherein the copy and the transformation document have an identical schema that expresses constraints on structure and content of the copy and transformation document, the constraints additional to constraints imposed by XML.
2 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to transforming documents. In aspects, a transformer obtains a source document and a transformation document. The transformation document indicates changes to make to the source document to transform the source document. The transformation document also includes location information that indicates where the changes are to be made. The transforms indicated by the transformation document may be extensible. Using the source document and the transformation document, the transformer transforms the source document into a target document. The transformer may be part of a development environment used to develop applications.
35 Citations
20 Claims
-
1. A method implemented at least in part by a computer, the method comprising:
-
obtaining a copy of a source XML (Extensible Markup Language) document, the source XML document including configuration data for use by an application in conjunction with the application executing in an environment; obtaining a transformation document that includes declarative statements that indicate modifications to make to the copy to transform the copy into a target XML document, the transformation document also including location information that indicates nodes in the copy upon which the modifications are to operate; transforming, within an integrated development environment, the copy of the source XML document according to the transformation document to create the target XML document, a first declarative statement of the transformation document indicating a file and an element of the copy, the file including additional declarative statements that indicate one or more modifications to make to the element of the copy, transforming the copy including applying the one or more modification to the element of the copy; and providing the target XML document; and wherein the copy and the transformation document have an identical schema that expresses constraints on structure and content of the copy and transformation document, the constraints additional to constraints imposed by XML. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computing apparatus, comprising:
-
one or more processors; one or more memory devices that store computer-executable instructions for execution by the one or more processors, the computer-executable instructions configured to perform actions including; reading a copy of a source document and transformation data from a transformation document, the source document including first configuration data for use by an application in conjunction with the application executing in a first environment; determining a location at which to make a modification to the copy based on the transformation data; and determining a transform corresponding to the modification; applying the transform to the copy at the location to create transformed data suitable for the application for when the application executes in a second environment; and wherein the copy and the transformation document have an identical schema that expresses constraints on structure and content of the copy and transformation document, the constraints additional to constraints imposed by one or more languages in which the copy and the transformation document are represented. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer storage medium having computer-executable instructions, which when executed perform actions, comprising:
-
obtaining first configuration data for an application that is operable to execute in a first environment; obtaining transformation data that indicates modifications to make to the first configuration data to create second configuration data suitable for when the application is executing in a second environment, the transformation data encoded in a declarative language; transforming the first configuration data according to the modifications indicated in the transformation data to create the second configuration data; and wherein the first configuration data and the transformation data have an identical schema that expresses constraints on structure and content of the first configuration data and the transformation data, the constraints additional to constraints imposed by one or more languages in which the first configuration data and the transformation data are represented. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification