语法
表达式.XMLSchemaViolations
表达式 一个返回 Document 对象的表达式。
示例
下列示例创建一个对活动文档中存在验证错误的 XML 元素的引用。
let objNodes = ActiveDocument.XMLSchemaViolations