Patent ID: 8161376
Filing Date: 2012-04-17
Classification: G06F

Abstract:
1. A method for transforming a heterogeneous compound document to a desired format based on a prescribed model comprising the steps of: (i) specifying components of the heterogeneous compound document as a hierarchical tree structure in multiple formats and specifying input sources of information for each of the components as part of said prescribed model; (ii) verifying and composing the heterogeneous compound document using a modeling language parser and a document composer by dynamically obtaining input information from the input sources of information specified in said prescribed model; and (iii) converting the heterogeneous compound document to the desired format using the document composer, wherein the step of specifying components of heterogeneous compound document as a hierarchical tree structure is carried out by: (i) identifying hierarchical structure of the heterogeneous compound document and determining the root nodes, internal nodes and leaf nodes; (ii) creating a leaf element in model description of the heterogeneous compound document for each leaf node and describing each of the leaf node in each of the required formats, with the proviso that for each value in the node, a stream start symbol, a stream descriptor, the value and a stream end symbol are added to list of values corresponding to the given format in the leaf element, if input is to be obtained from a new source of data, otherwise a constant value which is specified by the leaf node is added to the list of values corresponding to the given format in the leaf element; (iii) creating an internal node element in the model description of the heterogeneous compound document for each identified internal node and describing each of the internal node in each of the required formats for each child node of the node with the proviso that: (iv) creating a root element in the model description of the heterogeneous compound document for each identified root node and describing a each of the root node in each of the required formats for each child node of node with the proviso that: