XML smart mapping system and method
First Claim
1. An apparatus enabling a project development environment facilitating the configuration of functionality that maps a first document format to a second document format, comprising a user interface module, operative to:
- receive an input document format and an output document format, display the input document format and the output document format, allow a user to configure a mapping between at least one source element of the input document format to at least one result element of the output document format, a mapping code generator, operative to;
generate mapping code based on the mapping configured by the user, a mapping code execution module operative to;
selectively execute the mapping code to map an input document formatted according to the input document format to an output document formatted according to the output document format according to the mapping specified by the user.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, apparatuses and systems facilitating mapping of elements from a first XML format to a second XML format using an interface that allows a user to associate elements from the first format to the second format. In some embodiments, a mapping can cause a direct transfer of a value in an input document to an output document. Maps can also be augmented with textual strings and scripts, for example, that can save a value from a first file format to a variable that can be accessed by another script, or save a value in association with a result tag in the second file format. A single tag from the first format can be mapped to multiple tags from the second format, multiple tags from the first format can be mapped to a single tag in the second format, and a single tag in the first format can be mapped multiple times to a single tag in the second format.
227 Citations
23 Claims
-
1. An apparatus enabling a project development environment facilitating the configuration of functionality that maps a first document format to a second document format, comprising
a user interface module, operative to: -
receive an input document format and an output document format, display the input document format and the output document format, allow a user to configure a mapping between at least one source element of the input document format to at least one result element of the output document format, a mapping code generator, operative to;
generate mapping code based on the mapping configured by the user, a mapping code execution module operative to;
selectively execute the mapping code to map an input document formatted according to the input document format to an output document formatted according to the output document format according to the mapping specified by the user. - View Dependent Claims (2, 3, 6, 7, 9, 10)
-
-
4. The apparatus of claim I wherein the mapping code generator includes at least one action code skeleton corresponding to a mapping action;
- and wherein the mapping code generator is operative to construct the mapping code to include at least one mapping function based on the mapping configured by the user and the at least one action code skeleton.
- View Dependent Claims (5, 8)
-
11. An apparatus enabling a graphical development environment facilitating the configuration of functionality that maps a first document format to a second document format, comprising
a graphical user interface module, operative to: -
receive an input XML document format and an output XML document format, display the input XML document format and the output XML document format, allow a user to configure a mapping between at least one tag of the input XML document format to at least one tag of the output XML document format, a memory including a tag stack and a context stack;
a mapping code generator, operative to;
generate mapping code based on the mapping configured by the user, wherein said mapping code including at least one mapping function corresponding to a tag in the output document format;
wherein the at least one function is operative to map at least one tag from the input XML document to at least one tag of the output XML document; and
a mapping code execution module operative to;
load a representation of the output document format into the memory, load a representation of an input document into the memory, push a tag of the output document format onto the tag stack and a context associated with the tag onto the context stack, determine whether a mapping function in the mapping code is associated with a tag in the output document format, locate at least one source tag in the input document corresponding to a result tag in the output document format, selectively execute a mapping function in the mapping code associated with the result tag to map the at least one source tag of the input document to an output document formatted according to the output document format, and traverse through all tags in the representation of the output document format. - View Dependent Claims (12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23)
-
-
18. A method enabling a graphical development environment allowing for the creation of functionality that maps a first document format to a second document format, comprising
receiving an input document format and an output document format; -
receiving a mapping configuration between at least one source element of the input document format to at least one result element of the output document format;
generating mapping code based on the mapping configuration;
receiving an input document formatted according to the first document format;
matching at least one source element from the input document corresponding to at least one result element in the output document format;
selectively executing the mapping code based on the matching step to map the at least one source element to the at least one result element in an output document.
-
Specification