1. A method of protecting data in a computer system using a common schema, the method comprising: performing by a processor: extracting attributes from a first data protection policy corresponding to a first data protection product for protecting data associated with at least one resource, wherein the attributes are expressed in a first application specific schema; mapping the extracted attributes to values of elements pre-defined by a common, non-application specific schema for representing a plurality of application specific schemas; combining the values of elements in a document using the common, non-application specific schema; generating from the document a second data protection policy corresponding to a second data protection product for protecting the at least one resource, wherein attributes of the second data protection policy are expressed in the second application specific schema, wherein the second data protection product is different from the first data protection product; and using the second data protection policy migrated from the first data protection policy to protect data associated with the at least one resource; wherein generating the second data protection policy comprises a policy generator executed by the processor: scanning the document; identifying one or more elements of the document; and translating values of the one or more elements to corresponding one or more attributes of the second data protection policy expressed in the second schema; wherein a value of a first element in the common schema corresponds to the at least one resource to be protected.