Patent ID: 7391735

Claim:
A method of parsing a message containing a plurality of data formats, the method comprising: identifying the data format of a first component of the message; responsive to said identification, selecting and invoking a first parser to parse the first component; identifying the data format of a second component of the message using said first selected parser and, responsive to said identification, using said first selected parser to select and invoke a second parser for parsing the second message component; wherein invoking the second parser includes inputting the second component to the second parser, and the method further includes parsing the second component and then returning control to the first selected parser; wherein identifying the data format of the second component comprises reading a format field of the second component; wherein selecting and invoking a second parser comprises comparing the identified format with a repository storing a list of parsers associated with specific formats and storing format templates corresponding to the specific formats; and providing the corresponding format template to the second parser.