×

System and method for comparing extensible markup language (XML) documents

  • US 7,392,471 B1
  • Filed: 02/08/2005
  • Issued: 06/24/2008
  • Est. Priority Date: 07/28/2004
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for comparing XML documents, comprising the steps of:

  • receiving a first XML object corresponding to a first document and a second XML object corresponding to a second document;

    receiving a third XML object, wherein the third XML object includes a list of one or more XML items from the first XML object, the second XML object, or both the first and the second XML objects, the third XML object being an exclusion list of XML items, an XML item to be excluded being described by a name, a type, and a path;

    comparing content of the first XML object with content of the second XML object, wherein the one or more XML items of the third XML object is excluded from the step of comparing, and wherein the step of comparing includes finding differences in content; and

    generating a result XML object from the results of the step of comparing, the result XML object including an item from the first XML object if the item appears in the first XML object but not the second XML object, the result XML object including an item from the first XML object in the result XML object if the item appears in the first XML object and a second different item appears in the second XML object, and the result XML object not including an item from the second XML object if the item appears in the second XML object but not the first XML object;

    wherein the first XML object, the second XML object, and the third XML object are formatted according to a Document Object Model representation.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×