View Full Version : How to find "Custom XML Parts" in a Word (2007) document

I just ran the Document Inspector on a Word 2007 document. It reported that "Custom XML data was found". I don;t know what that is and I never intentionally created any. But before I allow the Inspector to remove it, I'd like to see what it is.

How can I find it?

Hope that helps you out. http://office.microsoft.com/en-us/excel-help/remove-hidden-data-and-personal-information-from-office-documents-HA010037593.aspx#BM1

To my understanding the inspector should find it all and you can remove whatever it finds. As a side note It's good to use because if you share documents to someone you want to strip your personal information. Kind of like stripping GPS information out of a picture taken by a phone. Same concept. Generally it's safe to do delete it as nothing of importance would be in the document, unless some one specifically hidden text. XML data can be anything formatting information etc. Some DOCX might have things in it that a regular DOC can't handle it. It could be there was once a XML plugin installed when the document was made that your word 2007 isn't able to show because it doesn't have the plugin installed. It could be frames, columns, rows etc. Inspector may not reveal it, but allow you to strip it out of the document anyways. Word 2010 or 2012 probably wouldn't have this issue.

How do I find and remove hidden data and personal information in my Office documents?You can use the Document Inspector to find and remove hidden data and personal information in Office documents that were created in Office Word 2007, Office Excel 2007, Office PowerPoint 2007, and earlier versions of these Office programs. It is a good idea to use the Document Inspector before you share an electronic copy of your Office document, such as in an e-mail attachment.

Open the Office document that you want to inspect for hidden data or personal information.
Click the Microsoft Office Buttonhttp://officeimg.vo.msecnd.net/en-us/files/922/308/ZA010077102.gif, click Save As, and then type a name in the File name box to save a copy of your original document.

Important It is a good idea to use the Document Inspector on a copy of your original document because it is not always possible to restore the data that the Document Inspector removes.

In the copy of your original document, click the Microsoft Office Buttonhttp://officeimg.vo.msecnd.net/en-us/files/922/308/ZA010077102.gif, point to Prepare, and then click Inspect Document.
In the Document Inspector dialog box, select the check boxes to choose the types of hidden content that you want to be inspected. For more information about the individual Inspectors, see What information can the Document Inspector find and remove? (http://office.microsoft.com/en-us/excel-help/remove-hidden-data-and-personal-information-from-office-documents-HA010037593.aspx#BM2)
Click Inspect.
Review the results of the inspection in the Document Inspector dialog box.
Click Remove All next to the inspection results for the types of hidden content that you want to remove from your document.

I guess I am not making myself clear. Let me try again: How can I see for myself what the XML Data in this document is and what it is used for -- not in general, but in this document?

I know how to use the Inspector and I know that it will remove the XML data. I have used the Inspector hundreds of times to remove personal information for just the reasons you list. This is the first time it has ever reported XML Data. Before I let the Inspector delete the XML Data, I want to see what it is and understand what is it. How do I do that?

For any of the other types of data that the Inspector finds, comments, personal information, headers, hidden text, I can find it in the document and inspect it myself, before deleting it. I want to do that for the XML Data.

Rename the document suffix from .docx to .zip. Now just use any standard unzipping software to extract all the files. You'll find a custom.xml file under docProps which contains the xml in readable form.