Dynamic conversion of data into markup language format
AssigneeSap SE
InventorsAbhijeet Yarde, Vinod Srinivasan
Life of this patent
Estimating the term…
Abstract
A system and method for dynamic conversion of data to markup language format. A method for conversion of input data to a mark-up format comprises creating a logical structure for an output document in the markup format from a markup format definition, parsing the logical structure to obtain nodes and node attributes defined by the markup format definition; and generating a table of nodes based on the nodes of the logical structure. The nodes of the table are arranged based on requirements from the markup format definition and values are inserted for the nodes, with values being derived from the input data. An output document based on the logical structure is then generated.
Claims21
A method for conversion of input data to a markup format comprising:
- creating a logical structure for an output document in the markup format from a markup format definition;
- parsing the logical structure to obtain nodes and node attributes defined by the markup format definition;
- generating a table of nodes based on the nodes of the logical structure;
- arranging the nodes of the table based on requirements from the markup format definition;
- inserting values for the nodes, one or more of the values being derived from the input data;
- and
- generating an output document based on the logical structure.
A server comprising:
- a memory for storage of input a markup format definition, and a logical document;
- an internal table for storage of a table to represent nodes of the logical document;
- and
- a processor to dynamically convert the input data to a markup format in conformance with the markup format definition, the conversion including converting the markup format definition to generate the logical document, parsing the logical document to identify nodes and node attributes for the markup format definition, using the result of the parsing to generate nodes of the table, and arranging the nodes of the table in accordance with the markup format definition.
A computer-readable medium having stored thereon data representing sequences of instructions that, when executed by a processor, cause the processor to perform operations comprising:
- creating a logical structure for an output document in XML (extensible markup language) from a schema;
- parsing the logical structure to obtain nodes and node attributes for an output document, and inserting the node elements into a table;
- arranging the nodes in the table based on requirements of the schema for a valid document;
- inserting a value for a node in the table, the value being derived from input data;
- and
- generating an output document for the input document based on the table in XML format.
Dependencies are inferred from the claim text.