Patent Document ID: 8281236
Application ID: 12877860

Base Claim:
1. A method executed at least in part in a computing device for removing style corruption from extensible markup language (XML) based documents, the method comprising: reading style information associated with an XML based document; determining at least one from a set of unused, corrupted, and duplicate styles by matching style definitions for the document with style parts in a document package; removing at least one from the set of the unused, corrupted, and duplicate styles without opening the XML based document in a rich application associated with the XML based document; determining corrupted name ranges; and removing the corrupted name ranges from the XML based document.

---

Claim 3:
3. The method of claim 1 , further comprising: presenting an option to revert the XML based document to a default format; and in response to an affirmative selection, reverting the XML based document to the default format by removing all custom styles.