public void RemoveExternalSchemaReferencesEx()
{
//ExStart
//ExFor:Document.RemoveExternalSchemaReferences
//ExSummary:Shows how to remove all external XML schema references from a document.
Document doc = new Document(MyDir + "Document.doc");
doc.RemoveExternalSchemaReferences();
//ExEnd
}